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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.