Skip to content

Commit 3f91e39

Browse files
committed
fix merge conflict
2 parents 944a4a6 + dfbba77 commit 3f91e39

File tree

494 files changed

+2708
-13183
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

494 files changed

+2708
-13183
lines changed

.openpublishing.redirection.json

Lines changed: 200 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51241,6 +51241,206 @@
5124151241
"source_path": "articles/aks/kubernetes-draft.md",
5124251242
"redirect_url": "/azure/aks/quickstart-helm",
5124351243
"redirect_document_id": false
51244+
},
51245+
{
51246+
"source_path": "articles/app-service-mobile/index.yml",
51247+
"redirect_url": "/previous-versions/azure/app-service-mobile/index",
51248+
"redirect_document_id": false
51249+
},
51250+
{
51251+
"source_path": "articles/app-service-mobile/app-service-mobile-android-get-started-offline-data.md",
51252+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-android-get-started-offline-data",
51253+
"redirect_document_id": false
51254+
},
51255+
{
51256+
"source_path": "articles/app-service-mobile/app-service-mobile-android-get-started-push.md",
51257+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-android-get-started-push",
51258+
"redirect_document_id": false
51259+
},
51260+
{
51261+
"source_path": "articles/app-service-mobile/app-service-mobile-android-get-started-users.md",
51262+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-android-get-started-users",
51263+
"redirect_document_id": false
51264+
},
51265+
{
51266+
"source_path": "articles/app-service-mobile/app-service-mobile-android-get-started.md",
51267+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-android-get-started",
51268+
"redirect_document_id": false
51269+
},
51270+
{
51271+
"source_path": "articles/app-service-mobile/app-service-mobile-android-how-to-use-client-library.md",
51272+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-android-how-to-use-client-library",
51273+
"redirect_document_id": false
51274+
},
51275+
{
51276+
"source_path": "articles/app-service-mobile/app-service-mobile-auth.md",
51277+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-auth",
51278+
"redirect_document_id": false
51279+
},
51280+
{
51281+
"source_path": "articles/app-service-mobile/app-service-mobile-client-and-server-versioning.md",
51282+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-client-and-server-versioning",
51283+
"redirect_document_id": false
51284+
},
51285+
{
51286+
"source_path": "articles/app-service-mobile/app-service-mobile-cordova-get-started-offline-data.md",
51287+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-cordova-get-started-offline-data",
51288+
"redirect_document_id": false
51289+
},
51290+
{
51291+
"source_path": "articles/app-service-mobile/app-service-mobile-cordova-get-started-push.md",
51292+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-cordova-get-started-push",
51293+
"redirect_document_id": false
51294+
},
51295+
{
51296+
"source_path": "articles/app-service-mobile/app-service-mobile-cordova-get-started-users.md",
51297+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-cordova-get-started-users",
51298+
"redirect_document_id": false
51299+
},
51300+
{
51301+
"source_path": "articles/app-service-mobile/app-service-mobile-cordova-get-started.md",
51302+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-cordova-get-started",
51303+
"redirect_document_id": false
51304+
},
51305+
{
51306+
"source_path": "articles/app-service-mobile/app-service-mobile-cordova-how-to-use-client-library.md",
51307+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-cordova-how-to-use-client-library",
51308+
"redirect_document_id": false
51309+
},
51310+
{
51311+
"source_path": "articles/app-service-mobile/app-service-mobile-dotnet-backend-how-to-use-server-sdk.md",
51312+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-dotnet-backend-how-to-use-server-sdk",
51313+
"redirect_document_id": false
51314+
},
51315+
{
51316+
"source_path": "articles/app-service-mobile/app-service-mobile-dotnet-how-to-use-client-library.md",
51317+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-dotnet-how-to-use-client-library",
51318+
"redirect_document_id": false
51319+
},
51320+
{
51321+
"source_path": "articles/app-service-mobile/app-service-mobile-html-how-to-use-client-library.md",
51322+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-html-how-to-use-client-library",
51323+
"redirect_document_id": false
51324+
},
51325+
{
51326+
"source_path": "articles/app-service-mobile/app-service-mobile-ios-get-started-offline-data.md",
51327+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-ios-get-started-offline-data",
51328+
"redirect_document_id": false
51329+
},
51330+
{
51331+
"source_path": "articles/app-service-mobile/app-service-mobile-ios-get-started-push.md",
51332+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-ios-get-started-push",
51333+
"redirect_document_id": false
51334+
},
51335+
{
51336+
"source_path": "articles/app-service-mobile/app-service-mobile-ios-get-started-users.md",
51337+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-ios-get-started-users",
51338+
"redirect_document_id": false
51339+
},
51340+
{
51341+
"source_path": "articles/app-service-mobile/app-service-mobile-ios-get-started.md",
51342+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-ios-get-started",
51343+
"redirect_document_id": false
51344+
},
51345+
{
51346+
"source_path": "articles/app-service-mobile/app-service-mobile-ios-how-to-use-client-library.md",
51347+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-ios-how-to-use-client-library",
51348+
"redirect_document_id": false
51349+
},
51350+
{
51351+
"source_path": "articles/app-service-mobile/app-service-mobile-node-backend-how-to-use-server-sdk.md",
51352+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-node-backend-how-to-use-server-sdk",
51353+
"redirect_document_id": false
51354+
},
51355+
{
51356+
"source_path": "articles/app-service-mobile/app-service-mobile-offline-data-sync.md",
51357+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-offline-data-sync",
51358+
"redirect_document_id": false
51359+
},
51360+
{
51361+
"source_path": "articles/app-service-mobile/app-service-mobile-value-prop.md",
51362+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-value-prop",
51363+
"redirect_document_id": false
51364+
},
51365+
{
51366+
"source_path": "articles/app-service-mobile/app-service-mobile-windows-store-dotnet-get-started-offline-data.md",
51367+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-windows-store-dotnet-get-started-offline-data",
51368+
"redirect_document_id": false
51369+
},
51370+
{
51371+
"source_path": "articles/app-service-mobile/app-service-mobile-windows-store-dotnet-get-started-push.md",
51372+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-windows-store-dotnet-get-started-push",
51373+
"redirect_document_id": false
51374+
},
51375+
{
51376+
"source_path": "articles/app-service-mobile/app-service-mobile-windows-store-dotnet-get-started-users.md",
51377+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-windows-store-dotnet-get-started-users",
51378+
"redirect_document_id": false
51379+
},
51380+
{
51381+
"source_path": "articles/app-service-mobile/app-service-mobile-windows-store-dotnet-get-started.md",
51382+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-windows-store-dotnet-get-started",
51383+
"redirect_document_id": false
51384+
},
51385+
{
51386+
"source_path": "articles/app-service-mobile/app-service-mobile-xamarin-android-get-started-offline-data.md",
51387+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-xamarin-android-get-started-offline-data",
51388+
"redirect_document_id": false
51389+
},
51390+
{
51391+
"source_path": "articles/app-service-mobile/app-service-mobile-xamarin-android-get-started-push.md",
51392+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-xamarin-android-get-started-push",
51393+
"redirect_document_id": false
51394+
},
51395+
{
51396+
"source_path": "articles/app-service-mobile/app-service-mobile-xamarin-android-get-started-users.md",
51397+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-xamarin-android-get-started-users",
51398+
"redirect_document_id": false
51399+
},
51400+
{
51401+
"source_path": "articles/app-service-mobile/app-service-mobile-xamarin-android-get-started.md",
51402+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-xamarin-android-get-started",
51403+
"redirect_document_id": false
51404+
},
51405+
{
51406+
"source_path": "articles/app-service-mobile/app-service-mobile-xamarin-forms-get-started-offline-data.md",
51407+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-xamarin-forms-get-started-offline-data",
51408+
"redirect_document_id": false
51409+
},
51410+
{
51411+
"source_path": "articles/app-service-mobile/app-service-mobile-xamarin-forms-get-started-push.md",
51412+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-xamarin-forms-get-started-push",
51413+
"redirect_document_id": false
51414+
},
51415+
{
51416+
"source_path": "articles/app-service-mobile/app-service-mobile-xamarin-forms-get-started-users.md",
51417+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-xamarin-forms-get-started-users",
51418+
"redirect_document_id": false
51419+
},
51420+
{
51421+
"source_path": "articles/app-service-mobile/app-service-mobile-xamarin-forms-get-started.md",
51422+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-xamarin-forms-get-started",
51423+
"redirect_document_id": false
51424+
},
51425+
{
51426+
"source_path": "articles/app-service-mobile/app-service-mobile-xamarin-ios-get-started-offline-data.md",
51427+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-xamarin-ios-get-started-offline-data",
51428+
"redirect_document_id": false
51429+
},
51430+
{
51431+
"source_path": "articles/app-service-mobile/app-service-mobile-xamarin-ios-get-started-push.md",
51432+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-xamarin-ios-get-started-push",
51433+
"redirect_document_id": false
51434+
},
51435+
{
51436+
"source_path": "articles/app-service-mobile/app-service-mobile-xamarin-ios-get-started-users.md",
51437+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-xamarin-ios-get-started-users",
51438+
"redirect_document_id": false
51439+
},
51440+
{
51441+
"source_path": "articles/app-service-mobile/app-service-mobile-xamarin-ios-get-started.md",
51442+
"redirect_url": "/previous-versions/azure/app-service-mobile/app-service-mobile-xamarin-ios-get-started",
51443+
"redirect_document_id": false
5124451444
}
5124551445
]
5124651446
}

articles/active-directory/app-provisioning/functions-for-customizing-application-data.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -519,11 +519,11 @@ SelectUniqueValue(uniqueValueRule1, uniqueValueRule2, uniqueValueRule3, …)
519519
**Description:**<br>
520520
Requires a minimum of two arguments, which are unique value generation rules defined using expressions. The function evaluates each rule and then checks the value generated for uniqueness in the target app/directory. The first unique value found will be the one returned. If all of the values already exist in the target, the entry will get escrowed and the reason gets logged in the audit logs. There is no upper bound to the number of arguments that can be provided.
521521

522-
> [!NOTE]
523-
> - This is a top-level function, it cannot be nested.
524-
> - This function cannot be applied to attributes that have a matching precedence.
525-
> - This function is only meant to be used for entry creations. When using it with an attribute, set the **Apply Mapping** property to **Only during object creation**.
526-
> - This function is currently only supported for "Workday to Active Directory User Provisioning". It cannot be used with other provisioning applications.
522+
523+
- This is a top-level function, it cannot be nested.
524+
- This function cannot be applied to attributes that have a matching precedence.
525+
- This function is only meant to be used for entry creations. When using it with an attribute, set the **Apply Mapping** property to **Only during object creation**.
526+
- This function is currently only supported for "Workday to Active Directory User Provisioning". It cannot be used with other provisioning applications.
527527

528528

529529
**Parameters:**<br>
68 KB
Loading
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
---
2+
title: Using SCIM, the Microsoft Graph, and the Azure AD provisioning service to provision users and enrich your application with the data it needs | Microsoft Docs
3+
description: Using SCIM and the Microsoft Graph together to provision users and enrich your application with the data it needs .
4+
services: active-directory
5+
documentationcenter: ''
6+
author: msmimart
7+
manager: CelesteDG
8+
9+
ms.assetid:
10+
ms.service: active-directory
11+
ms.subservice: app-provisioning
12+
ms.workload: identity
13+
ms.tgt_pltfrm: na
14+
ms.devlang: na
15+
ms.topic: conceptual
16+
ms.date: 04/06/2020
17+
ms.author: mimart
18+
ms.reviewer: arvinh
19+
20+
ms.collection: M365-identity-device-management
21+
---
22+
23+
24+
# Using SCIM and Microsoft Graph together to provision users and enrich your application with the data it needs
25+
26+
**Target audience:** This document is targeted towards developers building applications integrated with Azure AD. For others looking to integrate an existing application such as Zoom, ServiceNow, and DropBox you can skip this and review the application specific [tutorials](https://docs.microsoft.com/azure/active-directory/saas-apps/tutorial-list).
27+
28+
**Common scenarios**
29+
30+
> [!div class="checklist"]
31+
> * Automatically create users in my application
32+
> * Automatically remove users from my application when they shouldn't have access anymore
33+
> * Integrate my application with multiple identity providers for provisioning
34+
> * Enrich my application with data from Microsoft services such as Sharepoint, Outlook, and Office.
35+
> * Automatically create, update, and delete users and groups in Azure AD and Active Directory
36+
37+
![SCIM Graph decision tree](./media/user-provisioning/scim-graph.png)
38+
39+
## Scenario 1: Automatically create users in my app
40+
Today, IT admins manually create user accounts in my application each time someone needs access or periodically upload CSV files. The process is time consuming for customers and slows down adoption of my application. All I need is basic [user](https://docs.microsoft.com/graph/api/resources/user?view=graph-rest-1.0) information such as name, email, and userPrincipalName to create a user. Furthermore, my customers use various IdPs and I don't have the resources to maintain a sync engine and custom integrations with each IdP.
41+
42+
**Recommendation**: Support a SCIM compliant [/Users](https://aka.ms/scimreferencecode) endpoint. Your customers will be able to easily use this endpoint to integrate with the Azure AD provisioning service and automatically create user accounts when they need access. You can build the endpoint once and it will be compatible with all IdPs, without having to maintain a sync engine. Check out the example request below for how a user would be created.
43+
44+
```json
45+
POST /Users
46+
{
47+
"schemas": [
48+
"urn:ietf:params:scim:schemas:core:2.0:User",
49+
"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"],
50+
"externalId": "0a21f0f2-8d2a-4f8e-bf98-7363c4aed4ef",
51+
"userName": "BillG",
52+
"active": true,
53+
"meta": {
54+
"resourceType": "User"
55+
},
56+
"name": {
57+
"formatted": "Bill Gates",
58+
"familyName": "Gates",
59+
"givenName": "Bill"
60+
},
61+
"roles": []
62+
}
63+
```
64+
65+
## Scenario 2: Automatically remove users from my app
66+
The customers using my application are security focused and have governance requirements to remove accounts when employees don't need them anymore. How can I automate deprovisioning from my application?
67+
68+
**Recommendation:** Support a SCIM compliant /Users endpoint. The Azure AD provisioning service will send requests to disable and delete when the user shouldn't have access anymore. We recommend supporting both disabling and deleting users. See the examples below for what a disable and delete request look like.
69+
70+
Disable user
71+
```json
72+
PATCH /Users/5171a35d82074e068ce2 HTTP/1.1
73+
{
74+
"Operations": [
75+
{
76+
"op": "Replace",
77+
"path": "active",
78+
"value": false
79+
}
80+
],
81+
"schemas": [
82+
"urn:ietf:params:scim:api:messages:2.0:PatchOp"
83+
]
84+
}
85+
```
86+
Delete user
87+
```json
88+
DELETE /Users/5171a35d82074e068ce2 HTTP/1.1
89+
```
90+
91+
## Scenario 3: Automate managing group memberships in my app
92+
My application relies on groups for access to various resources, and customers want to reuse the groups that they have in Azure AD. How can I import groups from Azure AD and keep them updated as the memberships change?
93+
94+
**Recommendation:** Support a SCIM compliant /Groups [endpoint](https://aka.ms/scimreferencecode). The Azure AD provisioning service will take care of creating groups and managing membership updates in your application.
95+
96+
## Scenario 4: Enrich my app with data from Microsoft services such as Teams, Outlook, and OneDrive.
97+
My application is built into Microsoft Teams and relies on message data. In addition, we store files for users in OneDrive. How can I enrich my application with the data from these services and across Microsoft?
98+
99+
**Recommendation:** The [Microsoft Graph](https://docs.microsoft.com/graph/) is your entry point to access Microsoft data. Each workload exposes APIs with the data that you need. The Microsoft graph can be used along with [SCIM provisioning](https://docs.microsoft.com/azure/active-directory/app-provisioning/use-scim-to-provision-users-and-groups) for the scenarios above. You can use SCIM to provision basic user attributes into your application while calling into graph to get any other data that you need.
100+
101+
## Scenario 5: Track changes in Microsoft services such as Teams, Outlook, and Azure AD.
102+
I need to be able to track changes to Teams and Outlook messages and react to them in real time. How can I get these changes pushed to my application?
103+
104+
**Recommendation:** The Microsoft Graph provides [change notifications](https://docs.microsoft.com/graph/webhooks) and change tracking for various resources. Note the following limitations of change notifications:
105+
- If an event receiver acknowledges an event, but fails to act on it for any reason, the event may be lost
106+
- If an event receiver acknowledges an event, but fails to act on it for any reason, the event may be lost
107+
- Change notifications don't always contain the [resource data](https://docs.microsoft.com/graph/webhooks-with-resource-data)
108+
For the reasons above, developers often use change notifications along with change tracking for synchronization scenarios.
109+
110+
## Scenario 6: Provision users and groups in Azure AD.
111+
My application creates information about a user that customers need in Azure AD. This could be an HR application than manages hiring, a communications app that creates phone numbers for users, or some other app that generates data that would be valuable in Azure AD. How do I populate the user record in Azure AD with that data?
112+
113+
**Recommendation** The Microsoft graph exposes /Users and /Groups endpoints that you can integrate with today to provision users into Azure AD. Please note that Azure Active Directory doesn't support writing those users back into Active Directory.
114+
115+
> [!NOTE]
116+
> Microsoft has a provisioning service that pulls in data from HR applications such as Workday and SuccessFactors. These integrations are built and managed by Microsoft. For onboarding a new HR application to our service, you can request it on [UserVoice](https://feedback.azure.com/forums/374982-azure-active-directory-application-requests).
117+
118+
## Related articles
119+
120+
- [Review the synchronization Microsoft Graph documentation](https://docs.microsoft.com/graph/api/resources/synchronization-overview?view=graph-rest-beta)
121+
- [Integrating a custom SCIM app with Azure AD](use-scim-to-provision-users-and-groups.md)

0 commit comments

Comments
 (0)