Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
stvcdms
Frequent Visitor

Get Data - Active Directory Object GUID or SID

Hello,

 

Has anyone had luck getting an AD Object GUID or SID using Power Query? I run into the issue with the result being a GUID in binary format and Power Query being unable to handle that. Anyone else have luck with this?

 

 

1 ACCEPTED SOLUTION
stvcdms
Frequent Visitor

Ultimately using the Office Graph API with a REST call was easier and the Office Graph ID was sufficient in this case.

View solution in original post

3 REPLIES 3
stvcdms
Frequent Visitor

Ultimately using the Office Graph API with a REST call was easier and the Office Graph ID was sufficient in this case.

v-qiuyu-msft
Community Support
Community Support

Hi @stvcdms,

 

Power Query provide many Binary functions to extract data from binary like Binary.ToList and Binary.ToText which you can try.

 

By the way, instead of using Power Query, you can use the Active Directory data source in desktop to get data, then in Query Editor to transform data in UI.

 

Best Regards,
Qiuyun Yu

 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for the reply, unfortunately the binary functions don't appear to reproduce the GUID they just generate a non-globally unique string.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.