Best practice
For the integration with Oomnitza, create a dedicated user account.
ManageEngine uses OAuth authentication and requires your Client ID, Secret, and Customer Domain to be added to Oomnitza.
Client ID and Secret
To obtain a Client ID and Secret, complete the following steps:
- Login or create a ManageEngine trial account.
- Open the Zoho API console, which is used by ManageEngine to generate OAuth credentials.
- Click Add Client in the upper right.
- Click Server-based applications.
- Enter a Client Name.
- Enter your Oomnitza URL in the Homepage URL field. For example, https://<my-account_name>.oomnitza.com.
- Enter the following Authorized Redirect URI:
https://generic-oauth2-proxy.oomnitza.com/oauth2/redirect_url - Click Create.
- Copy the Client ID and Secret and store them securely for the next step.
- Click the Settings tab. You have the option to enable the use of the client on some or all domains.
For information about OAuth 2.0 and Zoho, go here: ManageEngine Mobile Device Manager.
Customer Domain
| Location of Data Center | Accounts Server URL |
| USA | accounts.zoho.com |
| Europe | accounts.zoho.eu |
| India | accounts.zoho.in |
| China | accounts.zoho.com.cn |
| Australia | acounts.zoho.com.au |
Scopes
The following scopes are required to run the integration and are automatically populated in Oomnitza:
MDMOnDemand.MDMInventory.CREATE, MDMOnDemand.MDMInventory.READ, SDPOnDemand.assets.ALL, DesktopCentralCloud.Common.READ, DesktopCentralCloud.SOM.READ, DesktopCentralCloud.SOM.UPDATE, DesktopCentralCloud.Inventory.READ, DesktopCentralCloud.Inventory.UPDATE, DesktopCentralCloud.PatchMgmt.READ, DesktopCentralCloud.PatchMgmt.UPDATE
The permissions these scopes provide are also highlighted when you create the credentials.
Add credentials to the vault in Oomnitza
To authorize connections between Oomnitza and ManageEngine, complete these steps:
Make life easier and add your credentials to Oomnitza before you create the integration.
- In Oomnitza, click Configuration > Security > Credentials.
- Click Add new credential (+).
- Search for the integration, and then click the forward arrow > to select the integration.
- Enter your client credentials and any other additional information.
- Click Authenticate. You are prompted to log in to authorize your request.
- Click CREATE.
- Add the information details.
- Click the AUTHORIZATION tab.
- Ensure that OAuth 2.0 is selected as the Authorization type.
- Ensure that ManageEngine is selected from the SaaS list.
- Enter your Client ID and Client Secret
- You do not need to add any additional scopes as these have already been provided for you.
- Enter your Customer Domain. Do not include a leading https:// when supplying the Customer Domain.
- Click Authenticate.
- You will be prompted to sign in to your ManageEngine account.
- Click Accept to allow your app to access data in your Zoho account.
- Click Create.
Figure: In this example, the customer is located in the USA so they enter the URL of the account's server in the USA.
You use the credentials that you added to create and customize your ManageEngine integrations with Oomnitza.
Troubleshooting authentication errors
If you encounter authentication errors when running the ManageEngine integration in Oomnitza, it may be due to Zoho Multi-Factor Authentication (MFA). If the Zoho API Console is using MFA, you need to log out first before you can validate your ManageEngine credentials in Oomnitza.
To fix the MFA authentication errors, follow these steps:
- Sign out of your user account in the Zoho API Console. Take note of your Client ID and Client Secret.
- Create a new credential in Oomnitza and add your Client ID, Secret, and Customer Domain, following the instructions provided previously.
- Save your credentials under a new name, such as ManageEngine Computers Asset Load Updated, so it doesn't conflict with the previous credentials you have added.
- Verify that you're signed out of the Zoho API Console, then click Authenticate. You'll be prompted to log back into the Zoho API Console.
- After logging back in, you should see an MFA pop-up. If available, choose to postpone the next MFA popup for 180 days. This action "trusts" the credential for the said duration.
- If done accurately, your credential will be marked Authenticated in Oomnitza.
- Open the failed ManageEngine Cloud integration in Configuration > Integrations and select the credential you just created in the Credential Details section.
- Pause your integration and click Test Run to run the integration again.
- Click Sync Sessions to confirm that the credentials you have added bypassed MFA successfully.
Comments
0 comments
Please sign in to leave a comment.