Skip to content

Commit dec80cd

Browse files
authored
Merge pull request #21 from rtibi/patch-9
Update graph-api-retirement.md
2 parents 4d659a4 + ee239f6 commit dec80cd

File tree

1 file changed

+28
-23
lines changed

1 file changed

+28
-23
lines changed

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

Lines changed: 28 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,18 @@ The Microsoft Entra ID (formerly Azure Active Directory or Azure AD) [Graph API
1717

1818
The Graph API retirement affects all Azure Stack Hub customers, and requires you to run the script included in this article for all impacted applications. If you have applications that need continued access to the Graph APIs, the script sets a flag that configures these applications for an extension that allows these specific applications to continue calling the legacy Graph API until June 2025.
1919

20-
The PowerShell script provided in this article sets a flag for each application to configure the Graph API extension for your connected Azure Stack environments.
20+
The PowerShell script provided in this article sets a flag for each application to configure the Graph API extension for each Entra ID identity provider of Azure Stack Hub.
2121

22-
To ensure that your connected Azure Stack environments continue functioning through the June cutoff date and beyond, you should run this script by the end of February 2025.
22+
To ensure that your Azure Stack Hub environments that use Entra ID as an identity provider continue functioning, you should run this script by the end of February 2025.
23+
24+
> [!NOTE]
25+
> If you delay adding this flag beyond February 2025, authentication will fail. You can then run this script to ensure your Azure Stack Hub functions as needed.
2326
2427
## Run the script
2528

26-
Run the following PowerShell script in your Azure Stack Hub environment to configure the Graph API extension. You can run the script after your environment is deployed. The script interacts with Azure, so you don't need to run it on a specific machine. However, you need administrator privileges to run the script, and you must run it in each of your directory tenants.
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.
2730

28-
Make sure to run the following script with administrator privileges:
31+
Make sure to run the following script with administrator privileges on the local machine:
2932

3033
```powershell
3134
# Install the graph modules if necessary
@@ -92,31 +95,33 @@ The script displays the following sample output:
9295

9396
```output
9497
Looking-up all applications in directory '<ID>'...
95-
Found '3164' total applications in directory '<ID>'
96-
Found '102' total Azure Stack deployments in directory '<app ID>'
97-
Found '14' total Azure Stack applications which need permission to continue calling Legacy Microsoft Graph Service
98-
1/14 - Updating application 'Azure Stack - AKS' (appId=<app ID>) (id=<ID>)
99-
2/14 - Updating application 'Azure Stack - Hubs' (appId=<app ID>) (id=<ID>)
100-
3/14 - Updating application 'Azure Stack - Portal Administration' (appId=<app ID>) (id=<app>)
101-
4/14 - Updating application 'Azure Stack - RBAC Administration' (appId=<app ID>) (id=ID)
102-
5/14 - Updating application 'Azure Stack - Container Registry' (appId=<app ID>) (id=ID)
103-
6/14 - Updating application 'Azure Stack - RBAC' (appId=<app ID>) (id=ID)
104-
7/14 - Updating application 'Azure Stack - Hubs Administration' (appId=<app ID>) (id=ID)
105-
8/14 - Updating application 'Azure Stack - Deployment Provider' (appId=<app ID>) (id=ID)
106-
9/14 - Updating application 'Azure Stack - Deployment' (appId=<app ID>) (id=ID)
107-
10/14 - Updating application 'Azure Stack - KeyVault' (appId=<app ID>) (id=ID)
108-
11/14 - Updating application 'Azure Stack' (appId=<app ID>) (id=ID)
109-
12/14 - Updating application 'Azure Stack - Administration' (appId=<app ID>) (id=ID)
110-
13/14 - Updating application 'Azure Stack - Policy Administration' (appId=<app ID>) (id=ID)
111-
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)
112117
```
113118

114119
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:
115120

116121
```output
117122
Looking-up all applications in directory '<ID>'...
118-
Found '3164' total applications in directory '<ID>>'
119-
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>>'
120125
Found '0' total Azure Stack applications which need permission to continue calling Legacy Microsoft Graph Service
121126
```
122127

0 commit comments

Comments
 (0)