Skip to content

Commit 89c4843

Browse files
authored
Merge pull request #157522 from MicrosoftDocs/master
Merge Master to Live, 4 AM
2 parents 02d4435 + cf57502 commit 89c4843

File tree

78 files changed

+873
-709
lines changed

Some content is hidden

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

78 files changed

+873
-709
lines changed

.openpublishing.redirection.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65953,6 +65953,21 @@
6595365953
"source_path_from_root": "/articles/active-directory/reports-monitoring/quickstart-configure-named-locations.md",
6595465954
"redirect_url": "/azure/active-directory/conditional-access/location-condition",
6595565955
"redirect_document_id": false
65956+
},
65957+
{
65958+
"source_path_from_root": "/articles/active-directory/reports-monitoring/reference-azure-monitor-audit-log-schema.md",
65959+
"redirect_url": "/azure/active-directory/reports-monitoring/overview-reports",
65960+
"redirect_document_id": false
65961+
},
65962+
{
65963+
"source_path_from_root": "/articles/iot-develop/quickstart-send-telemetry-cli-python.md",
65964+
"redirect_url": "/azure/iot-develop/quickstart-send-telemetry-iot-hub",
65965+
"redirect_document_id": false
65966+
},
65967+
{
65968+
"source_path_from_root": "/articles/iot-develop/quickstart-send-telemetry-cli-node.md",
65969+
"redirect_url": "/azure/iot-develop/quickstart-send-telemetry-iot-hub",
65970+
"redirect_document_id": false
6595665971
}
6595765972
]
6595865973
}
79.7 KB
Loading

articles/active-directory/develop/msal-net-migration.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,16 @@ If you are already familiar with the Azure AD for developers (v1.0) endpoint (an
4747
However, you still need to use ADAL.NET if your application needs to sign in users with earlier versions of [Active Directory Federation Services (ADFS)](/windows-server/identity/active-directory-federation-services). For more information, see [ADFS support](https://aka.ms/msal-net-adfs-support).
4848

4949
The following picture summarizes some of the differences between ADAL.NET and MSAL.NET for a public client application
50-
![Side-by-side code](./media/msal-compare-msaldotnet-and-adaldotnet/differences.png)
50+
[![Side-by-side code for public client applications](./media/msal-compare-msaldotnet-and-adaldotnet/differences.png)](./media/msal-compare-msaldotnet-and-adaldotnet/differences.png#lightbox)
51+
52+
And the following picture summarizes some of the differences between ADAL.NET and MSAL.NET for a confidential client application
53+
[![Side-by-side code for confidential client applications](./media/msal-net-migration/confidential-client-application.png)](./media/msal-net-migration/confidential-client-application.png#lightbox)
5154

5255
### NuGet packages and Namespaces
5356

5457
ADAL.NET is consumed from the [Microsoft.IdentityModel.Clients.ActiveDirectory](https://www.nuget.org/packages/Microsoft.IdentityModel.Clients.ActiveDirectory) NuGet package. the namespace to use is `Microsoft.IdentityModel.Clients.ActiveDirectory`.
5558

56-
To use MSAL.NET you will need to add the [Microsoft.Identity.Client](https://www.nuget.org/packages/Microsoft.Identity.Client) NuGet package, and use the `Microsoft.Identity.Client` namespace
59+
To use MSAL.NET you will need to add the [Microsoft.Identity.Client](https://www.nuget.org/packages/Microsoft.Identity.Client) NuGet package, and use the `Microsoft.Identity.Client` namespace. If you are building a confidential client application, you also want to check out [Microsoft.Identity.Web](https://www.nuget.org/packages/Microsoft.Identity.Web).
5760

5861
### Scopes not resources
5962

@@ -145,7 +148,7 @@ Web app | Auth Code | [Acquiring tokens with authorization codes on web apps wit
145148

146149
ADAL.NET allows you to extend the `TokenCache` class to implement the desired persistence functionality on platforms without a secure storage (.NET Framework and .NET core) by using the `BeforeAccess`, and `BeforeWrite` methods. For details, see [Token Cache Serialization in ADAL.NET](https://github.com/AzureAD/azure-activedirectory-library-for-dotnet/wiki/Token-cache-serialization).
147150

148-
MSAL.NET makes the token cache a sealed class, removing the ability to extend it. Therefore, your implementation of token cache persistence must be in the form of a helper class that interacts with the sealed token cache. This interaction is described in [Token Cache Serialization in MSAL.NET](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/wiki/token-cache-serialization).
151+
MSAL.NET makes the token cache a sealed class, removing the ability to extend it. Therefore, your implementation of token cache persistence must be in the form of a helper class that interacts with the sealed token cache. This interaction is described in [Token Cache Serialization in MSAL.NET](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/wiki/token-cache-serialization). The serialization will be different for a public client application (See [Token cache for a public client application](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/wiki/token-cache-serialization#token-cache-for-a-public-client-application)), and for a confidential client application (See [Token cache for a web app or web API](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/wiki/token-cache-serialization#token-cache-for-a-public-client-application))
149152

150153
## Signification of the common authority
151154

articles/active-directory/enterprise-users/licensing-group-advanced.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.service: active-directory
1010
ms.subservice: enterprise-users
1111
ms.topic: how-to
1212
ms.workload: identity
13-
ms.date: 12/02/2020
13+
ms.date: 04/05/2021
1414
ms.author: curtand
1515
ms.reviewer: sumitp
1616
ms.custom: it-pro
@@ -23,12 +23,12 @@ Use the following information and examples to gain a more advanced understanding
2323

2424
## Usage location
2525

26-
Some Microsoft services are not available in all locations. Before a license can be assigned to a user, the administrator has to specify the **Usage location** property on the user. In [the Azure portal](https://portal.azure.com), you can specify usage location in **User** > **Profile** > **Settings**.
26+
Some Microsoft services are not available in all locations. Before a license can be assigned to a user, the administrator should specify the **Usage location** property on the user. In [the Azure portal](https://portal.azure.com), you can specify usage location in **User** > **Profile** > **Settings**.
2727

2828
For group license assignment, any users without a usage location specified inherit the location of the directory. If you have users in multiple locations, make sure to reflect that correctly in your user resources before adding users to groups with licenses.
2929

3030
> [!NOTE]
31-
> Group license assignment will never modify an existing usage location value on a user. We recommend that you always set usage location as part of your user creation flow in Azure AD (e.g. via AAD Connect configuration) - that will ensure the result of license assignment is always correct, and users do not receive services in locations that are not allowed.
31+
> Group license assignment will never modify an existing usage location value on a user. We recommend that you always set usage location as part of your user creation flow in Azure AD (for example, via AAD Connect configuration) - that will ensure the result of license assignment is always correct, and users do not receive services in locations that are not allowed.
3232
3333
## Use group-based licensing with dynamic groups
3434

@@ -58,18 +58,14 @@ For this example, modify one user and set their extensionAttribute1 to the value
5858

5959
> [!WARNING]
6060
> Use caution when modifying an existing group’s membership rule. When a rule is changed, the membership of the group will be re-evaluated and users who no longer match the new rule will be removed (users who still match the new rule will not be affected during this process). Those users will have their licenses removed during the process which may result in loss of service, or in some cases, loss of data.
61-
>
61+
>
6262
> If you have a large dynamic group you depend on for license assignment, consider validating any major changes on a smaller test group before applying them to the main group.
6363
6464
## Multiple groups and multiple licenses
6565

6666
A user can be a member of multiple groups with licenses. Here are some things to consider:
6767

68-
- Multiple licenses for the same product can overlap, and they result in all enabled services being applied to the user. The following example shows two licensing groups: *E3 base services* contains the foundation services to deploy first, to all users. And *E3 extended services* contains additional services (Sway and Planner) to deploy only to some users. In this example, the user was added to both groups:
69-
70-
![Screenshot of enabled services](./media/licensing-group-advanced/view-enabled-services.png)
71-
72-
As a result, the user has 7 of the 12 services in the product enabled, while using only one license for this product.
68+
- Multiple licenses for the same product can overlap, and they result in all enabled services being applied to the user. An example could be that *E3 base services* contains the foundation services to deploy first, to all users, and *E3 extended services* contains additional services (Sway and Planner) to deploy only to some users. You can add the user to both groups. As a result, the user has 7 of the 12 services in the product enabled, while using only one license for this product.
7369

7470
- Selecting the *E3* license shows more details, including information about which services are enabled for the user by by the group license assignment.
7571

0 commit comments

Comments
 (0)