Symptoms

The ${status} string is displayed instead of correct Domain names in Customer CP for Office 365 subscriptions.

Cause

The following properties are missing for corresponding Office365\Domain APS resources:

"domain_name"
"service_name"
"status"
"records"

Resolution

Retrieve correct properties values from the sitelog and use the PUT request to make affected Domains consistent back.

PUT request example for this very case:

curl -k -X PUT "https://localhost:6308/aps/2/application/office365domains/1bca87f3-...-a4f83118f729" -d@request_body.json -E './app_instance_certificate.pem'

**request_body.json**:
{
    "domain_name": "example.onmicrosoft.com",
    "service_name": "rapidAuth,mobileDevice",
    "status": "Ready",
    "records":
     [
            {
                "dns_record_id": "4078ad13-...-e4d3c2129872",
                "service_name": "own"
            },
...

Internal content