Azure Stack installation checks for company admin role instead of global admin

Open
#608 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
powershell

Research direction

Start with DRIVE:\AzureStack_Installer\asdk-installer.ps1 and inspect the role check at C:\CloudDeployment\Setup\Common\AzureADConfiguration.psm1 line 339. Compare that check with the linked installation documentation, then verify that a user with only the global administrator role no longer fails with the tenant-access error.

Written by the indexing model from the issue text.

Description

Running "DRIVE:\AzureStack_Installer\asdk-installer.ps1" after booting into CloudBuilder.vhdx checks for company administrator role instead of global administrator in "C:\CloudDeployment\Setup\Common\AzureADConfiguration.psm1", line 339.
If the user installing ASDK has only global administrator role, installation fails with error message saying that the user does not have access to any tenants.

Documentation states that only global administrator role is required for installation.

Same issue on Microsoft Q&A

Dominant language
PowerShell
Stars
260
Forks
283
Avg merge
2h 11m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/AzureStack-Tools

All issues in Azure/AzureStack-Tools

Similar issues

More Cloud issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.