question

RASHMAAR-2635 avatar image
0 Votes"
RASHMAAR-2635 asked amanpreetsingh-msft commented

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

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

azure-ad-authenticationazure-ad-user-management
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

amanpreetsingh-msft avatar image
0 Votes"
amanpreetsingh-msft answered amanpreetsingh-msft commented

Hi @RASHMAAR-2635 · 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.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @RASHMAAR-2635 · Just checking if you have any further quesiton.

0 Votes 0 ·