Help with errors creating a custom role for Azure Stack Hub registration

Darren 181 Reputation points
2020-11-27T19:06:53.533+00:00

Hello all, i tried to use matt mcspirit's script to register ASDK and install app service etc etc

https://github.com/mattmcspirit/azurestack.

and it does loads of checks but fails saying pretty much the same thing as Microsoft recommends

"We recommend you register Azure Stack with Azure by creating a service account to use for registration rather than using global admin credentials."

So I tried and got the error that "subscription ID malformed or invalid"

but i placed it in the json file recommended and followed the correct procedure so what am i doing wrong?

I previously registered without a problem some time ago but without the matt script

Azure Stack Hub
Azure Stack Hub
An extension of Azure for running apps in an on-premises environment and delivering Azure services in a datacenter.
188 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. TravisCragg-MSFT 5,681 Reputation points Microsoft Employee
    2020-12-01T00:29:17.103+00:00

    That script has only been tested up to build 2002, and we are currently on ASDK build 2008. Can you try the typical ASDK registration method?


  2. TravisCragg-MSFT 5,681 Reputation points Microsoft Employee
    2020-12-04T02:58:58.353+00:00

    As this is a problem with the mattmcspirit script, your best bet is to create a GitHub Issue on the repo, as is listed Here.

    0 comments No comments

Your answer

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