Graph API Beta版LearningProviders接口调用返回401错误求助
401 UnknownError when calling Microsoft Graph Beta /employeeExperience/learningProviders API with admin account
I'm trying to use the Microsoft Graph Beta GET /employeeExperience/learningProviders API for listing learning providers. My tenant has the new Viva integration enabled, and all related features work perfectly fine in Microsoft Teams.
However, whenever I call this endpoint using an admin account, I keep getting a 401 error with the following response body:
{ "error": { "code": "UnknownError", "message": "", "innerError": { "date": "2022-07-29T12:50:14", "request-id": "b985f230-5e34-4e95-9c03-4a192b9cd2e2", "client-request-id": "b985f230-5e34-4e95-9c03-4a192b9cd2e2" } } }
I've already tried two approaches to call this API, but neither gives a valid response:
- Using Graph Explorer, where I've added the correct permissions to the Graph Explorer app registration
- Using a newly created app registration with the appropriate delegated permissions configured
Has anyone else run into the same issue? Any help would be greatly appreciated.
内容的提问来源于stack exchange,提问作者Daniele Zorzi
相关产品推荐
相关产品推荐

