Creating a native API for WorkZone Mobile

Log in to the Microsoft Azure portal.


Register the native API

  1. Click App registrations. It must be the same place as your WorkZone web app publication is created.
  2. On the App registration page, click New application registration.
  3. Enter a name for the WorkZone Mobile app, for example, WorkZoneMobileNative.
  4. Select Native in the Application type field.
  5. Enter the URL of your WorkZone web app publication in the Redirect URI field.
  6. To avoid issues with the third-party applications integrity, it is recommended to add another Redirect URI with slash in the end.

    Notes:  

    • According to vendors limitations, each platforms (iOS and Android) must have specific URI format. Please follow the format illustrated on the picture.
    • For the Android platform, use Android Debug Bridge.


Add permissions

  1. Select the app you just created and click Settings > Required permissions.
  2. On the Required permissions page, click Add > Select an API.
  3. Note: If you only see the Microsoft API, you need to type in the Search field, and then other results will be listed.

  4. Select your published web app for WorkZone, and click the Select button.
  5. On the Enable access page, select the Access <Your published web app>, click the Select button.
  6. Click Done.

The next step is to add specific permissions to the Windows Azure Active Directory.


Add permissions to the Windows Azure Active Directory

  1. Select the app you just created and click All settings > Required permissions.
  2. On the Required permissions page, click Windows Azure Active Directory.
  3. Under Delegated permissions, select all the check boxes except the last one.
  4. Click Save.
  5. Click Grant Permissions. If prompted, click Yes, OK, or Accept.