Skip to content

Commit e6a5bd1

Browse files
authored
Merge branch 'main' into yuyaolian/v1-lobby-admitters
2 parents bc34d22 + da9bd91 commit e6a5bd1

11 files changed

+204
-79
lines changed

api-reference/beta/api/driveitem-copy.md

Lines changed: 121 additions & 38 deletions
Large diffs are not rendered by default.

api-reference/beta/resources/user.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@ This resource supports:
168168
|[Upgrade app installed for user](../api/userteamwork-teamsappinstallation-upgrade.md) | None | Upgrades to the latest version of the app installed in the personal scope of a user.|
169169
|[Get chat between user and app](../api/userscopeteamsappinstallation-get-chat.md)| [Chat](chat.md)| Lists one-on-one chat between the user and the app. |
170170
|[List permission grants](../api/user-list-permissiongrants.md)| [resourceSpecificPermissionGrant](resourcespecificpermissiongrant.md) collection| List all [resource-specific permission grants](../resources/resourcespecificpermissiongrant.md) of a [user](../resources/user.md). |
171+
| **Terms of use agreements** |||
172+
| [Agreement acceptances for a user](../api/user-list-agreementacceptances.md) | [agreementAcceptance](agreementacceptance.md) | Retrieve a user's agreementAcceptance objects. |
171173
| **To-do tasks** |||
172174
|[List tasks](../api/todotasklist-list-tasks.md)|[todoTask](todotask.md) collection|Get all the [todoTask](todotask.md) resources in the specified list.|
173175
|[Create task](../api/todotasklist-post-tasks.md)|[todoTask](todotask.md)| Create a [todoTask](todotask.md) in the specified task list.|

api-reference/beta/toc/users/toc.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,10 @@ items:
282282
href: ../../api/userscopeteamsappinstallation-get-chat.md
283283
- name: List permission grants
284284
href: ../../api/user-list-permissiongrants.md
285+
- name: Terms of use agreements
286+
items:
287+
- name: Agreement acceptances for a user
288+
href: ../../api/user-list-agreementacceptances.md
285289
- name: To-do tasks
286290
items:
287291
- name: List tasks

api-reference/v1.0/resources/user.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ This resource supports:
138138
| [Upgrade app installed for user](../api/userteamwork-teamsappinstallation-upgrade.md) | None | Upgrades to the latest version of the app installed in the personal scope of a user. |
139139
| [Get chat between user and app](../api/userscopeteamsappinstallation-get-chat.md) | [Chat](chat.md) | Lists one-on-one chat between the user and the app. |
140140
|[List permission grants](../api/user-list-permissiongrants.md)| [resourceSpecificPermissionGrant](resourcespecificpermissiongrant.md) collection| List all [resource-specific permission grants](../resources/resourcespecificpermissiongrant.md) of a [user](../resources/user.md). |
141+
| **Terms of use agreements** |||
142+
| [Agreement acceptances for a user](../api/user-list-agreementacceptances.md) | [agreementAcceptance](agreementacceptance.md) | Retrieve a user's agreementAcceptance objects. |
141143
| **To-do tasks** | | |
142144
| [List tasks](../api/todotasklist-list-tasks.md) | [todoTask](todotask.md) collection | Get all the [todoTask](todotask.md) resources in the specified list. |
143145
| [Create task](../api/todotasklist-post-tasks.md) | [todoTask](todotask.md) | Create a [todoTask](todotask.md) in the specified task list. |

api-reference/v1.0/toc/users/toc.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,10 @@ items:
234234
href: ../../api/userscopeteamsappinstallation-get-chat.md
235235
- name: List permission grants
236236
href: ../../api/user-list-permissiongrants.md
237+
- name: Terms of use agreements
238+
items:
239+
- name: Agreement acceptances for a user
240+
href: ../../api/user-list-agreementacceptances.md
237241
- name: To-do tasks
238242
items:
239243
- name: List tasks

concepts/migrate-azure-ad-graph-authentication-library.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.reviewer: krbash
77
ms.localizationpriority: medium
88
ms.topic: how-to
99
ms.subservice: entra-applications
10-
ms.date: 01/12/2024
10+
ms.date: 01/24/2025
1111
#Customer intent: As a developer, I want to learn what authentication libraries to use, so that I can update my code accordingly as I migrate my app from Azure AD Graph to Microsoft Graph.
1212
---
1313

@@ -24,19 +24,13 @@ Most apps use an authentication library to acquire and manage access tokens to c
2424

2525
If your app still uses ADAL, use a two-stage migration approach:
2626

27-
1. Update your app to acquire access tokens for Microsoft Graph. Continue to use ADAL for this step. Update the **resourceURL**, which holds the URI representing the resource web API, from:
28-
29-
`https://graph.windows.net`
30-
31-
To:
32-
33-
`https://graph.microsoft.com`
27+
1. Update your app to acquire access tokens for Microsoft Graph. Continue to use ADAL for this step. Update the **resourceURL**, which holds the URI representing the resource web API, from `https://graph.windows.net` to `https://graph.microsoft.com`.
3428

3529
Newly acquired tokens have the same scopes after this change, but the audience of the access tokens is now Microsoft Graph.
3630

3731
Once you update **resourceURL** and verified functionality, release an interim update for your app users.
3832

39-
1. Next, begin migrating your app to use MSAL, which is the only supported library, now that ADAL is retired.
33+
1. Next, begin migrating your app to use MSAL, which is the only supported library, now that ADAL is retired.
4034

4135
## Migrating to MSAL
4236

@@ -48,7 +42,7 @@ When you switch your app over to MSAL, you need to make a few changes, including
4842
var scopes = new string[] { "https://graph.microsoft.com/.default" };
4943
```
5044

51-
The expression above limits the permission scopes request to the scopes configured during application registration in the Microsoft Entra admin center, and saves your existing users from having to consent to your app again.
45+
This expression restricts the permission scopes to those configured on the app registration in the Microsoft Entra admin center, preventing existing users from needing to re-consent to your app.
5246

5347
Learn [.NET client library](migrate-azure-ad-graph-client-libraries.md) differences between Azure Active Directory (Azure AD) Graph and Microsoft Graph.
5448

concepts/migrate-azure-ad-graph-permissions-differences.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: ombongifaith
66
ms.reviewer: jackson.woods, krbash
77
ms.localizationpriority: medium
88
ms.subservice: entra-applications
9-
ms.date: 01/18/2024
9+
ms.date: 01/24/2025
1010
ms.topic: concept-article
1111
#Customer intent: As a developer migrating apps from Azure AD Graph to Microsoft Graph, I want to understand the differences in permissions between the two APIs, so that I can grant the rightly scoped Microsoft Graph permissions to my app.
1212
---
@@ -19,7 +19,7 @@ The least privileged permission for a specific scenario might be different betwe
1919

2020
For example, on Azure AD Graph, reading users in app-only scenarios requires the *Directory.Read.All* permission. This permission also allows your app to read all the groups, apps, and some policies in your tenant. However, on Microsoft Graph, reading users in app-only scenarios requires only the *User.Read.All* permission.
2121

22-
While the permission strings might be the same in both Azure AD Graph and Microsoft Graph, they have different identifiers. However, similar to Azure AD Graph, Microsoft Graph also exposes both application and delegated permissions. Administrator consent is always required for application permissions.
22+
While the permission display strings might be the same in both Azure AD Graph and Microsoft Graph, they have different permissions IDs. Similar to Azure AD Graph, Microsoft Graph also exposes both application and delegated permissions. Administrator consent is always required for application permissions.
2323

2424
The article provides a mapping of Azure AD Graph to Microsoft Graph permissions to help you migrate your apps.
2525

@@ -152,11 +152,11 @@ Not applicable.
152152

153153
### Delegated
154154

155-
| Parameter | Azure AD Graph | Microsoft Graph |
156-
|-------------------------|----------------|------------------------|
157-
| Permission ID | Not available | Read and write domains |
158-
| Display String | Not available | Read and write domains |
159-
| Admin consent required? | Not available | Yes |
155+
| Parameter | Azure AD Graph | Microsoft Graph |
156+
|-------------------------|----------------|--------------------------------------|
157+
| Permission ID | Not available | 0b5d694c-a244-4bde-86e6-eb5cd07730fe |
158+
| Display String | Not available | Read and write domains |
159+
| Admin consent required? | Not available | Yes |
160160

161161

162162
### Application

concepts/migrate-azure-ad-graph-planning-checklist.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.reviewer: krbash
77
ms.topic: quickstart
88
ms.localizationpriority: medium
99
ms.subservice: entra-applications
10-
ms.date: 01/12/2024
10+
ms.date: 01/20/2025
1111
#Customer intent: As a developer, what are some of the things I need to consider when migrating my app from Azure AD Graph to Microsoft Graph?
1212
---
1313

@@ -17,26 +17,26 @@ Use the following checklist to plan your migration from Azure Active Directory (
1717

1818
## Step 1: Review the differences between the APIs
1919

20-
In many respects, Microsoft Graph is similar to the earlier Azure AD Graph. In many cases, change the endpoint, version, and resource name in your code, and everything should continue to work.
20+
In many ways, Microsoft Graph resembles Azure AD Graph. Often, you can simply update the endpoint, version, and resource name in your code, and it should function as expected.
2121

22-
Nonetheless, there are differences. Certain resources, properties, methods, and core capabilities changed.
22+
However, there are differences where some resources, properties, methods, and core capabilities have changed.
2323

24-
Specifically, look for differences in the following areas:
24+
Look for differences in the following areas:
2525

26-
- [Request call syntax](migrate-azure-ad-graph-request-differences.md) between the two services
27-
- [Feature differences](migrate-azure-ad-graph-feature-differences.md), such as directory extensions, batching, differential queries, and so on
28-
- [Entity resource names](migrate-azure-ad-graph-resource-differences.md) and their types
29-
- [Properties](migrate-azure-ad-graph-property-differences.md) of request and response objects
30-
- [Methods](migrate-azure-ad-graph-method-differences.md), including parameters and types
31-
- [Permissions](migrate-azure-ad-graph-permissions-differences.md)
26+
- [Request call syntax](migrate-azure-ad-graph-request-differences.md) between the two services.
27+
- [Feature differences](migrate-azure-ad-graph-feature-differences.md), such as directory extensions, batching, differential queries, and so on.
28+
- [Entity resource names](migrate-azure-ad-graph-resource-differences.md) and their types.
29+
- [Properties](migrate-azure-ad-graph-property-differences.md) of request and response objects.
30+
- [Methods](migrate-azure-ad-graph-method-differences.md), including parameters and types.
31+
- [Permissions](migrate-azure-ad-graph-permissions-differences.md).
3232

3333
## Step 2: Examine API use
3434

3535
[Examine the APIs](migrate-azure-ad-graph-audit-api-use.md) used by your app, the permissions they require, and compare to the list of known differences.
3636

37-
For production, verify that the APIs your app needs are generally available in Microsoft Graph v1.0 and inspect whether they work like in Azure AD Graph or differently.
37+
For production, ensure that the APIs your app requires are generally available in Microsoft Graph v1.0 and verify if they function the same as in Azure AD Graph or have differences.
3838

39-
For testing, use [Graph Explorer](https://aka.ms/ge) to experiment with API calls and to develop new approaches. For best results, sign in using the credentials of a test user in a test tenant so that you verify the API behavior in a realistic environment.
39+
For testing, use [Graph Explorer](https://aka.ms/ge) to experiment with API calls and develop new approaches. For best results, sign in with the credentials of a test user in a test tenant to verify the API behavior in a realistic environment.
4040

4141
## Step 3: Review app details
4242

@@ -46,7 +46,7 @@ For testing, use [Graph Explorer](https://aka.ms/ge) to experiment with API call
4646

4747
## Step 4: Deploy, test, and extend your app
4848

49-
Before updating your app for production, ensure you test thoroughly and stage your rollout to your customer audience.
49+
Before updating your app for production, thoroughly test it and stage the rollout to your customer audience.
5050

5151
After switching to Microsoft Graph, you unlock many more datasets and features that are defined in [Major services and features in Microsoft Graph](./overview-major-services.md).
5252

concepts/migrate-azure-ad-graph-request-differences.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ ms.author: ombongifaith
66
ms.reviewer: krbash
77
ms.localizationpriority: medium
88
ms.subservice: "entra-applications"
9-
ms.date: 01/12/2024
9+
ms.date: 01/21/2025
10+
1011
#Customer intent: As a developer, I want to understand how REST API endpoints differ between Azure AD Graph and Microsoft Graph, so that I can update my code accordingly as I migrate my app from Azure AD Graph to Microsoft Graph.
1112
---
1213

@@ -54,7 +55,7 @@ In addition to the primary key, some entities support an alternate key identifie
5455

5556
It's a best practice to only request the properties your app really needs. Use the `$select` query parameter, in GET requests, to customize the response to include only the properties that your app requires.
5657

57-
In some cases in Microsoft Graph, for example, the **GET** or **LIST** operations for **user** and **group** resources, only a subset of all properties are returned. These _default properties_ represent the most commonly used properties for the resources. On the other hand, Azure AD Graph returns the full set of all properties for the respective resource. Where the resource returns only the default properties, your app needs to explicitly request other properties using the `$select` query parameter.
58+
In some cases in Microsoft Graph, for example, the **GET** or **LIST** operations for **user** and **group** resources, only a subset of all properties are returned. These *default properties* represent the most commonly used properties for the resources. On the other hand, Azure AD Graph returns the full set of all properties for the respective resource. Where the resource returns only the default properties, your app needs to explicitly request other properties using the `$select` query parameter.
5859

5960
To illustrate the difference, use Graph Explorer to run the following requests and compare the different responses.
6061

@@ -72,7 +73,7 @@ https://graph.microsoft.com/v1.0/me?$select=displayName,streetAddress,city,state
7273
To learn more about:
7374

7475
- Default properties on user and group resources, see [users](/graph/api/resources/users) and [groups](/graph/api/resources/groups-overview)
75-
- The `$select` parameter and other supported ODATA query parameters, see [Use query parameters to customize responses](./query-parameters.md).
76+
- The `$select` parameter and other supported OData query parameters, see [Use query parameters to customize responses](./query-parameters.md).
7677
- Other recommended optimizations, see [Best practices](./best-practices-concept.md).
7778

7879
## Relationships and navigation properties

concepts/permissions-reference.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.localizationpriority: high
77
ms.topic: reference
88
ms.subservice: entra-applications
99
ms.custom: graphiamtop20, scenarios:getting-started
10-
ms.date: 01/20/2025
10+
ms.date: 01/27/2025
1111
#Customer intent: As a developer, I want to learn more about the permissions available in Microsoft Graph, so that I understand the impact of granting specific permissions to my app.
1212
---
1313

@@ -2016,6 +2016,28 @@ GET https://graph.microsoft.com/v1.0/servicePrincipals(appId='00000003-0000-0000
20162016

20172017
---
20182018

2019+
### DeviceManagementScripts.Read.All
2020+
2021+
| Category | Application | Delegated |
2022+
|--|--|--|
2023+
| Identifier | c7a5be92-2b3d-4540-8a67-c96dcaae8b43 | d32381d8-ee89-4220-9c83-b672aa68d404 |
2024+
| DisplayText | Read Microsoft Intune Scripts | Read Microsoft Intune Scripts |
2025+
| Description | Allows the app to read Microsoft Intune device compliance scripts, device management scripts, device shell scripts, device custom attribute shell scripts and device health scripts, without a signed-in user. | Allows the app to read Microsoft Intune device compliance scripts, device management scripts, device shell scripts, device custom attribute shell scripts and device health scripts on behalf of the signed in user. |
2026+
| AdminConsentRequired | Yes | Yes |
2027+
2028+
---
2029+
2030+
### DeviceManagementScripts.ReadWrite.All
2031+
2032+
| Category | Application | Delegated |
2033+
|--|--|--|
2034+
| Identifier | 9255e99d-faf5-445e-bbf7-cb71482737c4 | 8b9d79d0-ad75-4566-8619-f7500ecfcebe |
2035+
| DisplayText | Read and write Microsoft Intune Scripts | Read and write Microsoft Intune Scripts |
2036+
| Description | Allows the app to read and write Microsoft Intune device compliance scripts, device management scripts, device shell scripts, device custom attribute shell scripts and device health scripts, without a signed-in user. | Allows the app to read and write Microsoft Intune device compliance scripts, device management scripts, device shell scripts, device custom attribute shell scripts and device health scripts on behalf of the signed in user. |
2037+
| AdminConsentRequired | Yes | Yes |
2038+
2039+
---
2040+
20192041
### DeviceManagementServiceConfig.Read.All
20202042

20212043
| Category | Application | Delegated |
@@ -2042,6 +2064,17 @@ GET https://graph.microsoft.com/v1.0/servicePrincipals(appId='00000003-0000-0000
20422064

20432065
---
20442066

2067+
### DeviceTemplate.Create
2068+
2069+
| Category | Application | Delegated |
2070+
|--|--|--|
2071+
| Identifier | abf6441f-0772-4932-96e7-0191478dd73a | 0b1717ff-3e42-4a73-8c29-e6b2e1093960 |
2072+
| DisplayText | Create device template | Create device templates |
2073+
| Description | Allows the app to create device templates. The app is marked as owner of the created device template. As a member of owners, the app will be allowed to manage devices created from the template. | Allows the app to create device templates on behalf of the signed in user. The user is marked as owners of the created device template. As a member of owners, the user will be allowed to manage devices created from the template. |
2074+
| AdminConsentRequired | Yes | Yes |
2075+
2076+
---
2077+
20452078
### DeviceTemplate.Read.All
20462079

20472080
| Category | Application | Delegated |

0 commit comments

Comments
 (0)