Can I provide my own client secret either from the portal or via command line - while adding a New Client Secret?
Asked
Active
Viewed 700 times
1 Answers
0
It is possible, If you want to create a new client secret just use the --append parameter with az ad app credential reset
az ad app credential reset --id "<application id or object id>" --password "stackoverflowrocks!"

Sajeetharan
- 216,225
- 63
- 350
- 396
-
The --password option is no longer available. However you can use the New-AzureADApplicationPasswordCredential as described in this post: https://stackoverflow.com/questions/67075017/azure-app-registration-client-secrets-expiration – nurdyguy Jun 22 '23 at 20:15