You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Registration/RegisterWithAzure.ps1
+38-11Lines changed: 38 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -6,15 +6,15 @@
6
6
.SYNOPSIS
7
7
8
8
This script can be used to register Azure Stack POC with Azure. To run this script, you must have a public Azure subscription of any type.
9
-
The owner of the subscriptioncannot be an MSA or 2FA account.
9
+
There must also be an account that is an owner or contributor of the subscription. This account cannot be an MSA (i.e. cannot be live.com or hotmail.com) or 2FA account.
10
10
11
11
.DESCRIPTION
12
12
13
13
RegisterToAzure runs local scripts to connect your Azure Stack to Azure. After connecting with Azure, you can test marketplace syndication.
14
14
15
15
The script will follow four steps:
16
-
Configure local identity: configures local Azure Stack so that it can call to Azure via your Azure subscription
17
-
Get registration request: get local environment information to create a registration for this azure stack in azure
16
+
Configure bridge identity: configures Azure Stack so that it can call to Azure via your Azure subscription
17
+
Get registration request: get Azure Stack environment information to create a registration for this azure stack in azure
18
18
Register with Azure: uses Azure powershell to create an "Azure Stack Registration" resource on your Azure subscription
19
19
Activate Azure Stack: final step in connecting Azure Stack to be able to call out to Azure
20
20
@@ -28,7 +28,7 @@ Name of your AAD Tenant which your Azure subscription is a part of. This paramet
28
28
29
29
.PARAMETERazureSubscriptionOwner
30
30
31
-
Username for the owner of the azure subscription. This user must not be an MSA or 2FA account. This parameter is mandatory.
31
+
Username for an owner/contributor of the azure subscription. This user must not be an MSA or 2FA account. This parameter is mandatory.
32
32
33
33
.PARAMETERazureSubscriptionPassword
34
34
@@ -53,7 +53,6 @@ This script must be run from the Host machine of the POC.
53
53
Ensure that you have an Azure subscription
54
54
#>
55
55
56
-
57
56
[CmdletBinding()]
58
57
Param (
59
58
[Parameter(Mandatory=$true)]
@@ -86,6 +85,24 @@ cd C:\CloudDeployment\Setup\Activation\Bridge
86
85
87
86
Read-Host"This script will turn marketplace syndication $marketplaceSyndication and usage reporting $reportUsage. You can change this by running the script using different flags. Press Enter to continue."
88
87
88
+
# Determine version of TP3 and set values accordingly
Read-Host"STEP 2: Registration request completed. Re-enter your Azure subscription credentials in the next step. Press Enter to continue."
120
+
Read-Host"STEP 2: Registration request completed. Re-enter your Azure subscription credentials in the next step. Note: Step 3 can be run from a different machine that is connected to Azure. Press Enter to continue and run step 3 from this machine."
0 commit comments