Microsoft Store analytics API call fails with "User Unauthorized EC2"

Platforms TP 15 Reputation points
2023-07-20T09:16:47.6633333+00:00

Our calls to

https://manage.devcenter.microsoft.com/v1.0/my/analytics/installs

Have started failing with a very strange "User Unauthorized EC2" error. These calls have been working for years.

We originally followed https://learn.microsoft.com/en-us/windows/uwp/monetize/get-app-installs

We are able to successfullt obtain a token:

https://learn.microsoft.com/en-us/windows/uwp/monetize/access-analytics-data-using-windows-store-services#obtain-an-azure-ad-access-token

but when using that token it fails with the above error.

Microsoft Partner Center
Microsoft Partner Center
A Microsoft website for partners that provides access to product support, a partner community, and other partner services.
839 questions
Microsoft Partner Center API
Microsoft Partner Center API
Microsoft Partner Center: A Microsoft website for partners that provides access to product support, a partner community, and other partner services.API: A software intermediary that allows two applications to interact with each other.
302 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Adrian 0 Reputation points
    2023-08-28T21:55:53.81+00:00

    @sean I'm still experiencing the same issue.

    After over a month of back and forth, Microsoft support finally came back and said "As per our engineering team, this issue was resolved.". Yet, I'm still seeing the same error.

    And now they want a .HAR file generated by Chrome, which makes no sense. You can't making the API calls from Chrome due to CORS.

    To reproduce the issue, I've provided CURL commands to generate the token and make an API call. What more do they need?