Skip to content

Commit fffc7a0

Browse files
committed
graph-updates
1 parent 9347806 commit fffc7a0

File tree

1 file changed

+39
-1
lines changed

1 file changed

+39
-1
lines changed

articles/active-directory/reports-monitoring/recommendation-migrate-from-adal-to-msal.md

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,45 @@ There are four steps to identifying and updating your apps in the Azure portal.
4949
- For example, the steps for .NET and Python applications have separate instructions.
5050
- For a full list of instructions for each scenario, see [How to migrate to MSAL](../develop/msal-migration.md#how-to-migrate-to-msal).
5151

52-
### Identify your apps programmatically
52+
### Identify your apps with the Microsoft Graph API
53+
54+
You can use Microsoft Graph to identify apps that need to be migrated to MSAL. To get started, see [How to use Microsoft Graph with Azure AD recommendations](howto-use-recommendations.md#how-to-use-microsoft-graph-with-azure-active-directory-recommendations).
55+
56+
Run the following query in Microsoft Graph, replacing the `<TENANT_ID>` placeholder with your tenant ID. This query returns a list of the impacted resources in your tenant.
57+
58+
```http
59+
https://graph.microsoft.com/beta/directory/recommendations/<TENANT_ID>_Microsoft.Identity.IAM.Insights.AdalToMsalMigration/impactedResources
60+
```
61+
62+
The following response provides the details of the impacted resources using ADAL:
63+
64+
```json
65+
{
66+
"id": "<APPLICATION_ID>",
67+
"subjectId": "<APPLICATION_ID>",
68+
"recommendationId": "TENANT_ID_Microsoft.Identity.IAM.Insights.AdalToMsalMigration",
69+
"resourceType": "app",
70+
"addedDateTime": "2023-03-29T09:29:01.1708723Z",
71+
"postponeUntilDateTime": null,
72+
"lastModifiedDateTime": "0001-01-01T00:00:00Z",
73+
"lastModifiedBy": "System",
74+
"displayName": "sample-adal-app",
75+
"owner": null,
76+
"rank": 1,
77+
"portalUrl": "
78+
df.onecloud.azure-test.net/#view/Microsoft_AAD_RegisteredApps/ApplicationMenuBlade/~/Branding/appId/{0}"
79+
"apiUrl": null,
80+
"status": "completedBySystem",
81+
"additionalDetails": [
82+
{
83+
"key": "Library",
84+
"value": "ADAL.Net"
85+
}
86+
]
87+
}
88+
```
89+
90+
### Identify your apps with Microsoft Graph PowerShell SDK
5391

5492
You can run the following set of commands in Windows PowerShell. These commands use the [Microsoft Graph PowerShell SDK](/graph/powershell/installation) to get a list of all applications in your tenant that use ADAL.
5593

0 commit comments

Comments
 (0)