Microsoft Graph API BETA - Create fido2AuthenticationMethod - The method is not supported for this URL

Veniamin Toropov 0 Reputation points
2024-12-21T17:48:04.1933333+00:00

Hi,

I tried using the BETA version to create the fido2AuthenticationMethod, but encountered an error: "The method is not supported for this URL." Additionally, other BETA methods do not seem to work as expected.

Here is the link to the documentation I referenced: https://learn.microsoft.com/en-us/graph/api/authentication-post-fido2methods?view=graph-rest-beta&tabs=http

I was unable to find the POST method in Graph Explorer, but according to the Microsoft documentation, it should be supported.

Could you please assist with this issue?

Thank you.

User's image

Microsoft Security | Microsoft Graph
{count} votes

1 answer

Sort by: Most helpful
  1. CarlZhao-MSFT 46,406 Reputation points
    2024-12-23T02:51:58.3733333+00:00

    Hi @Veniamin Toropov

    According to the documentation, self-service operations are not currently supported.

    User's image

    This means that you cannot currently call POST /beta/me/authentication/fido2Methods API to create FIDO2 authentication methods for yourself but can only call POST /beta/users/{user_id}/authentication/fido2Methods API to create FIDO2 authentication methods for other users.

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.