Checking Microsoft API Connectivity
You can check whether your application instance has the necessary access to the Microsoft APIs by following these steps:
- Prepare the APS ID of your application instance.
-
Prepare the JSON data that represents the APS resource of your application instance. For example, use this request:
CopyGET https://BRAND_DOMAIN/aps/2/resources/APS_ID_OF_APPLICATION_INSTANCE
- Use the testSettings custom operation of your application instance to check Microsoft API connectivity, as shown below. If your application instance has the necessary access to the Microsoft APIs, the ok parameter is true in the response that you receive.
Important: Checking Microsoft API connectivity is a custom operation. The user whose key and secret you use to access the APS REST API must have http://www.parallels.com/Office365/Office365app and POST in its list of allowed operations.
HTTP Request
Copy
POST https://BRAND_DOMAIN/aps/2/resources/APS_ID_OF_APPLICATION_INSTANCE/testSettings
JSON_OF_APPLICATION_INSTANCE
HTTP Response
Copy
{
"ok": RESULT,
"message": "ERROR_MESSAGE"
}