Forum Discussion
johnjohn-Peter
Apr 21, 2025Iron Contributor
Azure Function managed identity is raising this error "Access Denied"
We have an Azure Function on .NET 8.0. and we enabled the managed identity of the Azure Function. Then we run those commands as per this official MS link https://learn.microsoft.com/en-us/sharepoint/...
Kidd_Ip
Apr 22, 2025MVP
Try to address and fix the following:
1. Verify Managed Identity Permissions
2. Confirm the Scope of the Token, to match your Graoh API calls
3. Test with Minimal Graph API Calls, to confirms whether the manage identity can access Graph API endpoints
4. Ensure Tenant-Level Settings for SharePoint
5. Debug Token Claims by using say jwt.ms
6. Check for Time Sync Issues
7. Retry Assignment Commands
8. Check Diagnostic Logs
johnjohn-Peter
Apr 22, 2025Iron Contributor
Kidd_Ipwhat does your reply has to do with my question? are you posting on the wrong question? Thanks
- Kidd_IpApr 23, 2025MVP
Thanks for the heads up, updated