Azure / Azure/AzureStack-Tools

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

Open
#608 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
260
Forks
283
Avg merge
2h 11m
Merged PRs (30d)
1

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.](https://docs.microsoft.com/en-us/azure-stack/asdk/asdk-install?view=azs-2008)

[Same issue on Microsoft Q&A](https://docs.microsoft.com/en-us/answers/questions/257338/asdk-deployment-fails.html)

Contributor guide

Open the contributing guide

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.