CMiC API and OAuth 2.0 Integration - Register the Web API App in Azure

  1. Sign into the Azure portal: https://portal.azure.com/

  2. Ensure you are using the directory containing your Azure AD tenant.

  3. Select Portal > Settings > Directories + subscriptions in the portal toolbar.

  4. On the Directories and Subscriptions page, find your Azure AD directory in the name list and select Switch.

  5. Search for and select your tenant.

  6. Select "App registrations" under the Services section of the drop-down menu, then click on the [New Registrations] button. This is also where you can visually see Azure endpoints, for example obtaining the token and authorization for both OAuth and OAuth2 configurations. These endpoints serve as Azure-based examples for sending requests to CMiC and can be used as a reference for simulating additional endpoint configuration in tools like Postman.

    App Registrations in Microsoft Azure

    The New Registration button on the App Registrations screen of Microsoft Azure

  7. Enter a name for the application, for example, "CMiC API". Leave the default values for redirect URI and supported account types.

  8. Select Register.

  9. After registration, select Overview.

  10. Go to the main page of the application you’ve just registered. You can see this information under the Essentials section.

  11. Record the Application (client) ID, Tenant ID, and Application Secret value for later configuration.