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: azure-stack/operator/graph-api-retirement.md
+20-3Lines changed: 20 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Learn how to mitigate the retirement of the Entra ID Graph API.
4
4
author: sethmanheim
5
5
ms.author: sethm
6
6
ms.topic: conceptual
7
-
ms.date: 03/14/2025
7
+
ms.date: 04/15/2025
8
8
ms.reviewer: rtiberiu
9
9
10
10
---
@@ -39,11 +39,14 @@ $ErrorActionPreference='Stop'
39
39
Import-Module Microsoft.Graph.Authentication
40
40
Import-Module Microsoft.Graph.Applications
41
41
42
+
# Target your Azure Cloud instance name; use Get-MgEnvironment to list available clouds and Add-MgEnvironment to add new ones as needed for custom private/secure clouds
43
+
$envName = 'Global'
44
+
42
45
# Repeat this flow for each of your target directory tenants
43
46
$tenantId = 'MyTenantId'
44
-
47
+
45
48
# Sign in with admin permissions to read and write all application objects
0 commit comments