...
- Log into the Azure Management Portal and go to the Azure Active Directory for your Office 365 tenant.
- Go to the Applications Azure Active Directory tab and select click the add button in the footer to manually add an ApplicationApp Registrations.
- Select "Add an application my organization is developing"New Application Registration".
- Give the application a name, keep the default selection of "Web Application and/or Web API" and click the next arrow
- Enter a Sign-on URL and App ID Uri (values of these don’t really matter other than being unique) and click next to create the application
- Click on the "Configure" tab and scroll to the bottom of the page to the section titled "Permissions to other applications"
- Click on "Add Application"
- Add the "Office 365 SharePoint Online" application
- On Application Permissions, select the following:
- Read Managed Metadata.
- Have Full Control of all Site Collections.
- Read Items in all Site Collections.
...
{"serverDuration": 133, "requestCorrelationId": "4289af8316da55a8"}