Configure Rest API

Enabling REST API access will allow you to use multi-factor authentication as configured in your Office 365 account. Once enabled, the user will be diverted to Office 365 login portal for authentication to use O365 Manager Plus.

Steps to configure Rest API

Rest API access will be configured automatically in O365 Manager Plus, if you choose to enable it. If the automatic configuration could not be completed due to unforeseen circumstances, please follow the manual configuration steps.

Automatic configuration

  1. Login to O365 Manager Plus' admin portal.
  2. Click Tenant Settings found in the top right corner.
  3. Select Enable Now under Rest API Access for the Office 365 tenant of your choice.

  4. You will be diverted to the Office 365 login portal. Enter the Office 365 password for the global admin account you are about to configure.
  5. Click Sign-in.
  6. An application for O365 Manager Plus will be created automatically. And you will now see a page that displays the list of permission that application need.
  7. Note: If you want to change the permissions required by the application, do manual configuration.

  8. Go through the list and click Accept.
  9. You will now be redirected to O365 Manager Plus console, where you can see the Rest API Access is Enabled for the account you configured.

Manual Configuration

If the automatic configuration was not successful due to permission issues, Rest API Access must be configured manually. The error message will show you a pop-up where you should fill appropriate values to complete the configuration.

Steps to be followed in Azure Portal

  1. Sign in to Azure AD portal using the credentials of the account for which you need to enable Rest API.
  2. Select Azure Active Directory from the left pane.
  3. Select App Registrations.
  4. Click New application registration.
  5. Enter a custom name for the app under Name.
  6. Select Web app/API under Application type.
  7. In Sign-in URL give a custom URL where user can sign-in and use the app.
  8. Click Create.
  9. Now select the app created in the list of applications shown.
  10. Select Properties under Settings pane.
  11. Copy and save the values of Object ID and Application ID. You will need them later.
  12. Click Save.
  13. Select Reply URLs under the Settings pane.
  14. Give the URI value where you have hosted O365 Manager Plus in the empty field. (http://hostname:portnumber) Eg: http://localhost:8365/*, http://omptest:8365/*, http://192.345.679.345:8365/*
  15. Now click Keys under Properties pane.
  16. Give a key description in and select the duration for which the key will be valid.
  17. Click Save.
  18. Copy the value under VALUE and save it. You will need this later.

  19. Steps to be followed in O365 Manager Plus portal

  20. Now click Required Permissions under Properties pane.
  21. Select Windows Azure Active Directory.
  22. Under Application Permissions and Delegated Permissions, 'Read and write directory data' is mandatory. Select or deselect other permissions based on your choice.
  23. Click Save.
  24. Now select Add under Required permissions tab.
  25. Under Add API access choose Select an API → Microsoft Graph → >Select
  26. Under Application Permissions and Delegated Permissions, 'Read and write directory data' is mandatory. Select or deselect other permissions based on your choice.
  27. Click Select under Add API access.Click Done.
  28. Under Required permissions tab select Grant Permissions.
  29. Now back to O365 Manager Plus console where you have the pop-up.

  30. Paste the Application ID and Application Object ID values you had copied in Step(11) in the respective fields.
  31. In App Secret Key paste the value you had copied in Step(18).
  32. Click Configure.
  33. You can now see the Rest API Access is Enabled for the account you configured.

Get download link