This topic describes how to configure a Microsoft account to log on to Cloud Drive for Enterprises (CDE).
1. Enable Microsoft configuration
Log on to CDE as an administrator. In the admin console, choose Exclusive Logon Configuration > Microsoft Configuration.
Turn on Microsoft Configuration.
After the feature is enabled and the logon settings are configured, users can log on with their Microsoft accounts.

2. Obtain the logon settings information
Step 1: Obtain the client ID and tenant ID
Access Microsoft Azure. On the following page, click View.

Go to App registrations and click New registration.

Fill in the redirect URI.
ImportantReplace
domainIdwith your actual enterprise code.The callback URL format is
https://domainId.api.aliyunpds.com/v2/oauth/callback.

Note down the values of Application (client) ID and Directory (tenant) ID. Then, click Add a certificate or secret.

Step 2: Create a client secret
Create a client secret and fill in the corresponding information.

Note down the value.

3. Fill in the logon settings information in CDE
Return to CDE. In the admin console, choose Exclusive Logon Configuration > Microsoft Configuration.
Enter the value of Application (client) ID that you noted down into the ClientID field on the Microsoft configuration page of CDE.
Enter the value of the client secret that you noted down into the ClientSecret field on the Microsoft configuration page of CDE.
Enter the value of Directory (tenant) ID that you noted down into the Tenant ID field on the Microsoft configuration page of CDE.
Click Save.
