Skip to content

Commit 347bb51

Browse files
author
brbartle
authored
Update README.md
1 parent 8dc66a3 commit 347bb51

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Registration/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
# Registration
22

3-
This script must be run from the Host machine. As a prerequisite, make sure that you have an Azure subscription and that you have installed Azure PowerShell:
3+
This script must be run from the Host machine. As a prerequisite, make sure that you have an Azure subscription, that you have installed Azure PowerShell, and that you have registered the AzureStack resource provider:
44

55
```powershell
66
Install-Module -Name AzureRM
7+
Register-AzureRmResourceProvider -ProviderNamespace 'microsoft.azurestack'
78
```
89

910
This script helps you to run through the steps of registering your Azure Stack with your Azure subscription. Additional details can be found in the [documentation](https://docs.microsoft.com/en-us/azure/azure-stack/azure-stack-register).
1011

1112
To run the script:
1213

1314
```powershell
14-
RegisterWithAzure.ps1 -azureDirectory YourDirectory -azureSubscriptionId YourGUID -azureSubscriptionOwner YourAccountName
15+
RegisterWithAzure.ps1 -azureCredentials YourCredentialObject -azureAccountId YourAccountName -azureSubscriptionId YourSubscriptionGUID -azureDirectoryTenantName YourAADTenantName
1516
```
1617

17-
You will be prompted for your Azure credentials one more time as well as prompted to click "Enter" twice as the script runs.
18+
AzureCredentials are not mandatory, if you do not pass in an Azure Credential object you will be prompted for your Azure credentials before continuing.

0 commit comments

Comments
 (0)