Skip to content

Getting the secret from a new Service Principal with New-AzADServicePrincipal #16343

Answered by VeryEarly
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @GaryTuttle1 ,

the msgraph API now won't return secret except the response of New-AzAdSpCredential, to get the secret, you need to explicitly run this cmdlet and get it from (New-AzAdSpCredential).SecretText

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant