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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.