Autmatic set OATH hardware token serials for Azure AD Accounts

Stefan Horz 3,466 Reputation points
2022-02-25T13:20:02.743+00:00

Hello,

it is described at https://learn.microsoft.com/en-us/azure/active-directory/authentication/concept-authentication-oath-tokens#oath-hardware-tokens-preview how to assign the serial of an OATH hardware token to an UPN uploading a csv file.
Can this step be automated in an Onboarding process for a new User.

Regards,
Stefan

Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

Accepted answer
  1. JamesTran-MSFT 36,911 Reputation points Microsoft Employee Moderator
    2022-02-28T23:00:51.98+00:00

    @Stefan Horz
    Thank you for your post and I apologize for the delayed response!

    From our documentation it doesn't seem like there's a supported way of automating this process through PS, Graph, or REST API. However, I found a 3rd party PowerShell script that might help point you in the right direction.

    Links:
    Automate Azure MFA Hardware Tokens
    Automating Upload and Activation of Hardware Tokens for Azure MFA
    Azure AD authentication methods API overview

    If you'd like automation of OAuth tokens to be a feature of Azure AD MFA, I'd recommend leveraging our User Voice forum and creating a feature request, so our engineering team can look into implementing this. I've also created an internal feature request, so our engineering team is aware of this as well.

    If you have any other questions, please let me know.
    Thank you for your time and patience throughout this issue.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

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