Views:
Applies to Product - Microsoft Cloud for Sustainability

What’s happening?
The customer is seeking assistance in extracting REST API information from the Emissions Impact Dashboard. They are able to export data to CSV but cannot find the REST API to access emissions data programmatically.

Reason:
Technical orientation.

Resolution:
Cloud for Sustainability API will be deprecated on May 30, 2025. We're deprecating the preview of Cloud for Sustainability API. This decision is part of our ongoing efforts to streamline our offerings and focus on delivering enhanced sustainability solutions through existing platforms and solutions.
We understand that this change may affect your current workflows and processes. If you would like to continue to gather this information, you can onboard to Azure carbon optimization. For more information, see  What is Azure carbon optimization (Preview) - Azure Carbon Optimization | Microsoft Learn.
To export emissions data using the REST API, you must create and authorize a service principal to access your emissions data. You can then use the service principal to get an authorization token and then export emissions data using the REST API. For further details, refers to Export carbon optimization emissions data - Carbon optimization in Azure | Microsoft Learn.