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
Automatic configuration
1. Login to O365 Manager Plus' admin portal.
2. Go to
Admin
tab.
3. Select O365 Tenant Settings under Administration.
4. Select
Enable Now
under
Rest API Access
for the Office 365 tenant of your choice.
5. 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.
6. Click
Sign-in
.
7. 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.
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.

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.
O365 Manager Plus portal
19. Now click Required Permissions under Properties pane.
20. Select Windows Azure Active Directory.
21. Under
Application Permissions
and
Delegated Permissions
'Read and write directory data'
is mandatory. Select or deselect other permissions based on your choice.
22. Click
Save
.
23. Now select
Add
under
Required permissions
tab.
24. Under
Add API access
choose
Select an API -->Microsoft Graph-->Selec
t
25. Under
Application Permission
s and
Delegated Permissions
'Read and write directory data'
is mandatory. Select or deselect other permissions based on your choice.
26. Click
Select
under
Add API access
click
Don
e.
27. Under
Required permissions
tab select
Grant Permissions.
28. Now back to O365 Manager Plus console where you have the pop-up.
29. Paste the
Application ID
and
Application Object ID
values you had copied in Step(11) in the respective fields.
30. In
App Secret Key
paste the value you had copied in Step(18).
31. Click
Configure
.
32. You can now see the
Rest API Access
is
Enabled
for the account you configured.
Read more about O365 Manager Plus, here.