Azure faceless user with key instead of a password to querying the Azure AD API.

RASH MAAR 421 Reputation points
2021-04-07T19:27:57.407+00:00

Hi,

I need to create a user for an automated process that will query the Azure AD API.
I'm looking for how to use Key instead of Password to identify Azure for this user.
I searched and could not find an answer so far. Appreciate your help
Thanks

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,389 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AmanpreetSingh-MSFT 56,301 Reputation points
    2021-04-08T15:15:12.27+00:00

    Hi @RASH MAAR · Thank you for reaching out.

    To authenticate for automated process, there are 2 options available as of now.

    1. Use Application context by using client_credentials flow that uses ClientID (aka App ID) and Client Secret to authenticate, as explained here: Microsoft identity platform and the OAuth 2.0 client credentials flow
    2. Use Managed Identity, which is an identity associated with an Azure Resource e.g., Azure VM, App Service etc., so that you don't have to provide any credentials inside the code running on Azure VM or App Service for instance.
      Read more: What are managed identities for Azure resources?

    -----------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.