-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Description
Environment:
- Ubuntu 16.04
- Python 3.5.2
- azure-cli 0.1.1b3
The help message for az ad sp create-for-rbac says the following for the -n argument:
--name -n : A display name or an app id uri. Command will generate one if missing.
I created the SPN using this command.
az ad sp create-for-rbac -n "http://MyGreatSpn" --role Reader --years 2 --password VerySecretThe command returned the following display name instead.
{
"appId": "2e3c163e-3581-4021-9fef-ff31ef6119ff",
"displayName": "azure-cli-2017-02-10-22-32-11",
"name": "http://MyGreatSpn,
"password": "VerySecret",
"tenant": "be9c53c3-21fe-4f07-aa2e-b17347fbfa91"
}I expected the SPN to have a display name of "http://MyGreatSpn" instead of a value assigned by azure-cli. What is the correct way to control this value?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels