SAP Cloud Platform Open Connectors

Create a New Microsoft Oauth App

So you're trying to create a new OAuth app for Microsoft to access your data on Sharepoint/OneDive/Dynamics. And if your reading this you're probably frustrated with Microsoft's documentation (I know because I was too).  If you follow along below you should have a new app in a few minutes. 

Step 1: Access the Azure Portal

  1. Go to https://login.microsoftonline.com/.
  2. Log in with your account credentials.
  3. Click the upper left 3x3 tile.
  4. Click Admin.
  5. Click Admin Center.
  6. Click Azure AD.

You should be redirected to https://aad.portal.azure.com.

Step 2: Register the App

  1. Click App Registration.
  2. Click New App Registration.
  3. Name your app something descriptive (so we know what we are looking at later).
  4. Select Web app / API.
  5. Sign-on URL as where a user would log into your site.

Step 3: Set up your Keys

  1. Click Create.
  2. Scroll to find your app and click it.
  3. Application ID is your API Key.
  4. Click Reply URL.
  5. Enter whatever redirect URLs you want here.
  6. Click Save.
  7. Click Owners.
  8. Add the appropriate owner who will be used for authentication.
  9. Click Keys.
  10. Enter a descriptive name for the key
  11. For Duration select Never Expire (unless you would like it to expire then please make note of when it expires so you know why you run into problems later).
  12. Click Save.

Once you click save the key will only show once. After that you will NEVER be able to view so if you want to keep this somewhere safe. This key will act as your API secret.

If Setting Up Dynamics CRM

  1. Click Required Permissions.
  2. Click Add.
  3. Click Select and API.
  4. Look for, and select Dynamics CRM Online.
  5. Click Select.
  6. Select all the boxes for permissions then click Select.
  7. Click Done.
  8. Click Grant Permissions.

And now after some 24+ steps you have yourself a brand spanking new Microsoft OAuth App. 

And for those who are visual learners, check out this video.