Add Microsoft 365 organization using the Setup Assistant
To add your Microsoft 365 organization to DPX vPlus server using Setup Assistant, do as follow:
- Go to the Cloud menu -> Service Providers -> click the Setup Assistant button.
- In the Wizard window read the information and click the Next button to go to the next step.
- Copy the authorization code -> click the link https://microsoft.com/devicelogin and enter it -> sign in to your Microsoft 365 organization as a user with administrator's rights. Now close the tab and go back to Setup Assistant.
- Provide number of application and click Create button. The application tenant is created. Click the Next button to go to the next step.
- Follow the instructions in Setup Assistant. If the Lookup button is not working and fields are not automatically populated the user needs to put there the following:
- for the Title field: DPX vPlus
- for the App domain field: localhost
- In the next step, click Grant permissions button. You will be redirected to the the page where you need to accept permissions.
- Execute provided PowerShell commands and click Save button.
- The configuration is now complete. Save your settings by clicking the Save button.
We recommend creating 1 application for every 500 users.
Required permissions
-
Since you're granting tenant scoped permissions this granting can only be done via the appinv.aspx page on the tenant administration site. You can reach this site by typing the address: https://tenantName-admin.sharepoint.com/\_layouts/15/appinv.aspx. (replace the tenantName with your tenant name). Once the page is loaded, do as follow:
-
Enter your App Id (client ID) and click the Lookup button.
-
Enter the App Domain name.
-
In the "App's Permission Request XML" window enter the following lines:
<AppPermissionRequests AllowAppOnlyPolicy="true">
<AppPermissionRequest Scope="http://sharepoint/content/tenant"
Right="FullControl" />
</AppPermissionRequests> -
When you click on the Create button you'll be presented with a permission consent dialog. Press the Trust It button to grant the permissions.
-
Open Powershell command prompt and execute the command:
Install-Module -Name Microsoft.Online.SharePoint.Powershellor download and install the module directly from this site
then
Connect-SPOService https://tenantName-admin.sharepoint.com
Set-SPOTenant -LegacyAuthProtocolsEnabled $True
Set-SPOTenant -DisableCustomAppAuthentication $falseIt enables the LegacyAuthProtocolsEnabled setting.
Note: Go to the Account auto-synchronization to learn how to synchronize Microsoft 365 accounts.