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
+33-29Lines changed: 33 additions & 29 deletions
Original file line number
Diff line number
Diff line change
@@ -1,34 +1,34 @@
1
-
# Copyright (c) Microsoft Corporation. All rights reserved.
2
-
# See LICENSE.txt in the project root for license information.
1
+
# Copyright (c) Microsoft Corporation. All rights reserved.
2
+
# See LICENSE.txt in the project root for license information.
3
3
4
-
<#
5
-
6
-
.SYNOPSIS
7
-
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
-
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.
4
+
<#
10
5
11
-
.DESCRIPTION
12
-
13
-
RegisterToAzure runs local scripts to connect your Azure Stack to Azure. After connecting with Azure, you can test marketplace syndication.
6
+
.SYNOPSIS
7
+
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
+
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
+
11
+
.DESCRIPTION
12
+
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
16
Configure bridge identity: configures Azure Stack so that it can call to Azure via your Azure subscription
17
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
21
-
.PARAMETERazureSubscriptionId
22
-
21
+
.PARAMETERazureSubscriptionId
22
+
23
23
24
24
Azure subscription ID that you want to register your Azure Stack with. This parameter is mandatory.
25
25
26
-
.PARAMETERazureDirectoryTenantName
27
-
26
+
.PARAMETERazureDirectoryTenantName
27
+
28
28
Name of your AAD Tenant which your Azure subscription is a part of. This parameter is mandatory.
29
29
30
30
.PARAMETERazureAccountId
31
-
31
+
32
32
Username for an owner/contributor of the azure subscription. This user must not be an MSA or 2FA account. This parameter is mandatory.
33
33
34
34
.PARAMETERazureCredentialPassword
@@ -45,19 +45,19 @@ URI used for ActivateBridge.ps1 that refers to the endpoint for Azure Resource M
45
45
46
46
.EXAMPLE
47
47
48
-
This script must be run from the Host machine of the POC.
48
+
This script must be run from the Host machine of the POC.
0 commit comments