Skip to content

Commit ee239f6

Browse files
authored
Update script instructions and sample output
1 parent 23b90f9 commit ee239f6

File tree

1 file changed

+22
-20
lines changed

1 file changed

+22
-20
lines changed

azure-stack/operator/graph-api-retirement.md

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ To ensure that your Azure Stack Hub environments that use Entra ID as an identit
2626
2727
## Run the script
2828

29-
Run the following PowerShell script in your Azure Entra ID environment that is used by Azure Stack Hub as the "home directory" (the main identity provider of your Azure Stack Hub). The script interacts with Azure, so you don't need to run it on a specific machine. However, you need at least "application administrator" privileges in the respective Entra ID tenant to run the script.
29+
Run the following PowerShell script in your Entra ID environment that is used by Azure Stack Hub as the "home directory" (the main identity provider of your Azure Stack Hub). The script interacts with Azure, so you don't need to run it on a specific machine. However, you need at least "application administrator" privileges in the respective Entra ID tenant to run the script.
3030

3131
Make sure to run the following script with administrator privileges on the local machine:
3232

@@ -95,31 +95,33 @@ The script displays the following sample output:
9595

9696
```output
9797
Looking-up all applications in directory '<ID>'...
98-
Found '3164' total applications in directory '<ID>'
99-
Found '102' total Azure Stack deployments in directory '<app ID>'
100-
Found '14' total Azure Stack applications which need permission to continue calling Legacy Microsoft Graph Service
101-
1/14 - Updating application 'Azure Stack - AKS' (appId=<app ID>) (id=<ID>)
102-
2/14 - Updating application 'Azure Stack - Hubs' (appId=<app ID>) (id=<ID>)
103-
3/14 - Updating application 'Azure Stack - Portal Administration' (appId=<app ID>) (id=<app>)
104-
4/14 - Updating application 'Azure Stack - RBAC Administration' (appId=<app ID>) (id=ID)
105-
5/14 - Updating application 'Azure Stack - Container Registry' (appId=<app ID>) (id=ID)
106-
6/14 - Updating application 'Azure Stack - RBAC' (appId=<app ID>) (id=ID)
107-
7/14 - Updating application 'Azure Stack - Hubs Administration' (appId=<app ID>) (id=ID)
108-
8/14 - Updating application 'Azure Stack - Deployment Provider' (appId=<app ID>) (id=ID)
109-
9/14 - Updating application 'Azure Stack - Deployment' (appId=<app ID>) (id=ID)
110-
10/14 - Updating application 'Azure Stack - KeyVault' (appId=<app ID>) (id=ID)
111-
11/14 - Updating application 'Azure Stack' (appId=<app ID>) (id=ID)
112-
12/14 - Updating application 'Azure Stack - Administration' (appId=<app ID>) (id=ID)
113-
13/14 - Updating application 'Azure Stack - Policy Administration' (appId=<app ID>) (id=ID)
114-
14/14 - Updating application 'Azure Stack - Policy' (appId=<app ID>) (id=ID)
98+
Found '###' total applications in directory '<ID>'
99+
Found '1' total Azure Stack deployments in directory '<app ID>'
100+
Found '16' total Azure Stack applications which need permission to continue calling Legacy Microsoft Graph Service
101+
1/16 - Updating application 'Azure Stack - AKS' (appId=<app ID>) (id=<ID>)
102+
2/16 - Updating application 'Azure Stack - Hubs' (appId=<app ID>) (id=<ID>)
103+
3/16 - Updating application 'Azure Stack - Portal Administration' (appId=<app ID>) (id=<app>)
104+
4/16 - Updating application 'Azure Stack - RBAC Administration' (appId=<app ID>) (id=ID)
105+
5/16 - Updating application 'Azure Stack - Container Registry' (appId=<app ID>) (id=ID)
106+
6/16 - Updating application 'Azure Stack - RBAC' (appId=<app ID>) (id=ID)
107+
7/16 - Updating application 'Azure Stack - Hubs Administration' (appId=<app ID>) (id=ID)
108+
8/16 - Updating application 'Azure Stack - Deployment Provider' (appId=<app ID>) (id=ID)
109+
9/16 - Updating application 'Azure Stack - Deployment' (appId=<app ID>) (id=ID)
110+
10/16 - Updating application 'Azure Stack - KeyVault' (appId=<app ID>) (id=ID)
111+
11/16 - Updating application 'Azure Stack' (appId=<app ID>) (id=ID)
112+
12/16 - Updating application 'Azure Stack - Administration' (appId=<app ID>) (id=ID)
113+
13/16 - Updating application 'Azure Stack - Policy Administration' (appId=<app ID>) (id=ID)
114+
14/16 - Updating application 'Azure Stack - Policy' (appId=<app ID>) (id=ID)
115+
15/16 - Updating application 'Azure Stack - Portal' (appId=<app ID>) (id=ID)
116+
16/16 - Updating application 'Azure Stack - KeyVault Administration ' (appId=<app ID>) (id=ID)
115117
```
116118

117119
Run the script a second time to verify that all applications were updated. The script should return the following output if all applications were successfully updated:
118120

119121
```output
120122
Looking-up all applications in directory '<ID>'...
121-
Found '3164' total applications in directory '<ID>>'
122-
Found '102' total Azure Stack deployments in directory '<ID>>'
123+
Found '####' total applications in directory '<ID>>'
124+
Found '1' total Azure Stack deployments in directory '<ID>>'
123125
Found '0' total Azure Stack applications which need permission to continue calling Legacy Microsoft Graph Service
124126
```
125127

0 commit comments

Comments
 (0)