Managing external identities to enable secure access for partners, customers, and other non-employees
My bad, it is working as expected
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello, https://graph.microsoft.com/v1.0/users/$userObjectId/authentication/softwareOathMethods does not return. Api has the following permissions:
UserAuthenticationMethod.Read.All
UserAuthenticationMethod.ReadWrite.All
What could be the problem?
Thanks, Nikolay
Managing external identities to enable secure access for partners, customers, and other non-employees
@Nikolay Valchev It seems like you are facing an issue with the Microsoft Graph API not returning softwareOathMethods for a user. You have the necessary permissions to access the softwareOathMethods, but the API is not returning any results <sup>12</sup>.
This issue can occur due to various reasons such as incorrect API endpoint, incorrect user object ID, or permission issues <sup>12</sup>. To troubleshoot this issue, you can try the following steps:
Check if the API endpoint is correct. You can try using the Graph Explorer to test the API endpoint and see if it returns any results <sup>1</sup>.
Check if the user object ID is correct. You can try using a different user object ID to see if the API returns any results <sup>1</sup>.
Check if the user has any softwareOathMethods associated with their account. If the user does not have any softwareOathMethods, the API will not return any results <sup>1</sup>.
Check if there are any permission issues. You can try checking the Azure AD audit logs to see if there are any errors related to the API request <sup>2</sup>.
If the above steps do not resolve the issue, you can try reaching out to the Microsoft support team for further assistance.
I hope this helps! Let me know if you have any other questions.