Share via

ASDK Deployment fails

Dimitris Pantazis 1 Reputation point Microsoft Employee
2021-02-03T14:56:22.38+00:00

Hello. I cannot deploy ASDK. I get the message that:

Get-AzureAdTenantDetails : The account you entered <> is not an administrator of any Azure Active Directory tenant.

I go to Azure AD and I confirm that the account I am using is assigned the Global Administrator Azure AD role.

What am I missing?

Thank you.

Azure Virtual Network
Azure Virtual Network

An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.

0 comments No comments

5 answers

Sort by: Most helpful
  1. Mark Bowler 101 Reputation points
    2021-02-11T11:04:50.787+00:00

    I hit the same problem. Took ages debugging the install scripts to get to the bottom of it.

    There's an issue with one of the installation scripts which expects the user to have a role of 'Company Administrator' instead of 'Global Administrator'.

    Try editing line 339 in C:\CloudDeployment\Setup\Common\AzureADConfiguration.psm1 and change the description to 'Global Administrator', and then re-run.

    You might have to remove the module in PowerShell (Remove-Module) as well before re-running so that it gets imported again.

    Was this answer helpful?

    1 person found this answer helpful.

  2. Thinh Tran Cong 0 Reputation points
    2023-04-27T08:23:26.9533333+00:00

    I hit to the same problem and despite i have tried to edit the script as shown in second post, the system still give me the same problem:

    Get-AzureAdTenantDetails : The account you entered '******@gmail.com' is not an administrator of any Azure Active
    Directory tenant.
    At C:\CloudDeployment\Setup\Common\InstallAzureStackCommon.psm1:549 char:27
    + ... ntDetails = Get-AzureAdTenantDetails -AADAdminCredential $InfraAzureD ...
    +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
        + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-AzureADTenantDetails
    

    I'm using 2206 and before hit to this error, I have sucessfully to deploy Azure however due to the change in HW, I have to redeploy the system and this time I hit to above error.

    Does anyone here have the same problem and how we can over come it?

    Thank you in advance.

    Was this answer helpful?


  3. Puneet Sehgal 1 Reputation point
    2021-05-07T05:45:20.023+00:00

    Thank You! @Mark Bowler This solved the problem in 1.2008.0.59 (2008) version

    Was this answer helpful?

    0 comments No comments

  4. Kelly J. Ueoka 1 Reputation point
    2021-03-02T22:35:27.837+00:00

    Thank you so much. This fixed an issue I was having with the latest build: 1.2008.0.59 (2008)

    Was this answer helpful?

    0 comments No comments

  5. Sumarigo-MSFT 47,511 Reputation points Microsoft Employee Moderator
    2021-02-04T02:54:34.857+00:00

    @Dimitris Pantazis Welcome to Microsoft Q&A, Thank you for posting your query!

    Based on the error message there is a similar thread discussion in the MSDN forum, please refer to the suggestion and let us know the status

    Hope this helps!

    Kindly let us know if the above helps or you need further assistance on this issue.

    ----------------------------------------------------------------------------------------------------

    Please don’t forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.