Skip to main content

Troubleshoot onboarding

Use this page when Verify fails or data is missing after you follow the Onboarding guide. For Dynamics 365 symptoms, see Troubleshooting level 2 in the Dynamics 365 guide.

Verify and first sync​

SymptomLikely causeFix
Verify returns AADSTS70011Wrong tenant signed in to the Azure PortalSign in to the Portal with an account from your own tenant, then repeat the steps
Graph permissions stay Not grantedAdmin consent step skippedOpen the App Registration, then API permissions → Grant admin consent for <Tenant>
Insufficient privileges on the first Microsoft 365 syncGraph permission missing or not consentedRe-check the table in Step 3
Sync stays at 0% after 30 minutesAn Azure role is missing, or the assignment has not propagatedRun Verify. If it reports a missing role, check the assignments on Assign Azure RBAC roles
Microsoft 365 adoption shows zeros after the first syncMicrosoft conceals user names in its usage reportsSee Show real names in Microsoft 365 usage reports
Authentication is refusedThe client secret of your Zation Platform Connector App Registration has expired or been rotatedRenew the client secret

Renew an expired client secret​

You created the client secret in Step 2 of the Onboarding guide. It belongs to your Zation Platform Connector App Registration, so you renew it. Plan for a few minutes.

  1. In the Azure Portal, open Microsoft Entra ID → App registrations and select Zation Platform Connector.
  2. Open Certificates & secrets → + New client secret.
  3. Set Description to Zation Platform and Expires to 24 months, then select Add.
  4. Copy the secret value right away. Microsoft shows it only once.
  5. In the Platform, open Settings → Tenants and replace the client secret of your tenant with the new value.
  6. Select Verify.
  7. After Verify succeeds, delete the old secret under Certificates & secrets in Microsoft Entra ID.

Add a calendar reminder before the new secret expires.

Azure RBAC​

SymptomLikely causeFix
Role assignment fails at tenant scope (Reservations or Savings Plans)The Access management for Azure resources toggle is offSet the toggle to Yes under Microsoft Entra ID → Properties, retry, then revert it
Azure GreenOps lists subscriptions without the Carbon Optimization Reader roleThe role is missing on those subscriptions, or the assignment hasn't propagatedAssign Carbon Optimization Reader to the Zation Platform Connector at Management Group level. Measured data appears with the next monthly sync. See Carbon Optimization Reader

RBAC propagation can take up to 30 minutes after an assignment. Wait before you run Verify again.

Carbon Optimization Reader​

Access denied on a subscription

Microsoft's API answers Denied per subscription where the role is missing. Assign Carbon Optimization Reader to the Zation Platform Connector at Management Group level so every subscription inherits it. Microsoft requires the permission at subscription level, so a role on a resource group or resource doesn't cover emissions data.

Error "Failed to send request to Microsoft.Carbon due to AAD authentication error"

The Enterprise App Prod-AzureSustainability is disabled in your tenant. Ask a tenant admin to enable it under Microsoft Entra ID → Enterprise applications.

No data right after granting the role

Microsoft registers a tenant the first time it uses the Carbon service. This can take 30 minutes to one hour.

The current month is missing

Microsoft publishes emissions for a month by the 19th day of the following month. New subscriptions and changed resource configurations appear in that later data.

Older months are missing

Microsoft keeps 12 months of emissions data.

See also​