Skip to content
New issue

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

Unable to get LinuxKit running on Microsoft Azure Platform #1

Closed
ajeetraina opened this issue Jul 30, 2017 · 0 comments
Closed

Unable to get LinuxKit running on Microsoft Azure Platform #1

ajeetraina opened this issue Jul 30, 2017 · 0 comments

Comments

@ajeetraina
Copy link
Owner

ajeetraina commented Jul 30, 2017

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

{
  "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"
    }
  }
]```
mohan08p pushed a commit to mohan08p/docker101 that referenced this issue Oct 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant