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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
sn3l
New Member

Connect To Azure Ad via Graph -"Expression.Error: Access to the resource is forbidden."

Good Mornig

 

I am trying to connect to Azure AD to retrieve Devices. 

After following a few posts  I went down the route of using https://graph.microsoft.com/v1.0/devices

 

I am loggin on with my Organization administrator account 

 

It loakds the data but when trying to connect to Devices I get "Expression.Error: Access to the resource is forbidden."

 

I have cleard the the Permission setting on various occasions. 

Logged on with Organization Account , Window Account 

Remand the User.Zip folder 

 

Ensured the Graph API has been granted all Read permissions

 

sn3l_0-1695244379599.png

 not sure where to check anymore 

1 REPLY 1
parry2k
Super User
Super User

@sn3l have you looked at the permission required for this API

 

List devices - Microsoft Graph v1.0 | Microsoft Learn



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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