We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run az login and authenticate your Azure Account.
az login
Ajeets-MacBook-Air:~ ajeetraina$ az ad sp create-for-rbac --name spname --password Oracle9ias Retrying role assignment creation: 1/36 Retrying role assignment creation: 2/36 { "appId": "aae5ce2a-1240-426f-b3f7-a3e8565bb70a", "displayName": "spname", "name": "http://spname", "password": "Oracle9ias", "tenant": "633df679-ee48-48ad-8841-543d1b723ae6" }```
Role Assignment
{ "id": "/subscriptions/43b263f8-40b0-4b20-be46-13355dc8c28b/providers/Microsoft.Authorization/roleAssignments/92f8de73-1bf4-4a7a-b6af-5485bb7d847f", "name": "92f8de73-1bf4-4a7a-b6af-5485bb7d847f", "properties": { "principalId": "ea7ca072-f4e0-4759-8288-583b83f3888a", "roleDefinitionId": "/subscriptions/43b263f8-40b0-4b20-be46-13355dc8c28b/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", "scope": "/subscriptions/43b263f8-40b0-4b20-be46-13355dc8c28b" }, "type": "Microsoft.Authorization/roleAssignments" }``` ```Ajeets-MacBook-Air:~ ajeetraina$ az role assignment list --assignee aae5ce2a-1240-426f-b3f7-a3e8565bb70a [ { "id": "/subscriptions/43b263f8-40b0-4b20-be46-13355dc8c28b/providers/Microsoft.Authorization/roleAssignments/92f8de73-1bf4-4a7a-b6af-5485bb7d847f", "name": "92f8de73-1bf4-4a7a-b6af-5485bb7d847f", "properties": { "principalId": "ea7ca072-f4e0-4759-8288-583b83f3888a", "principalName": "http://spname", "roleDefinitionId": "/subscriptions/43b263f8-40b0-4b20-be46-13355dc8c28b/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", "roleDefinitionName": "Reader", "scope": "/subscriptions/43b263f8-40b0-4b20-be46-13355dc8c28b" }, "type": "Microsoft.Authorization/roleAssignments" } ]``` ```Ajeets-MacBook-Air:~ ajeetraina$ az login --service-principal -u aae5ce2a-1240-426f-b3f7-a3e8565bb70a --password Oracle9ias --tenant 633df679-ee48-48ad-8841-543d1b723ae6 [ { "cloudName": "AzureCloud", "id": "43b263f8-40b0-4b20-be46-13355dc8c28b", "isDefault": true, "name": "Free Trial", "state": "Enabled", "tenantId": "633df679-ee48-48ad-8841-543d1b723ae6", "user": { "name": "aae5ce2a-1240-426f-b3f7-a3e8565bb70a", "type": "servicePrincipal" } } ]```
The text was updated successfully, but these errors were encountered:
Merge pull request ajeetraina#1 from rusrushal13/master
aa1a63b
changes added
No branches or pull requests
Run
az login
and authenticate your Azure Account.Ajeets-MacBook-Air:~ ajeetraina$ az ad sp create-for-rbac --name spname --password Oracle9ias
Retrying role assignment creation: 1/36
Retrying role assignment creation: 2/36
{
"appId": "aae5ce2a-1240-426f-b3f7-a3e8565bb70a",
"displayName": "spname",
"name": "http://spname",
"password": "Oracle9ias",
"tenant": "633df679-ee48-48ad-8841-543d1b723ae6"
}```
Role Assignment
The text was updated successfully, but these errors were encountered: