Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not emit usage to azure marketplace #775

Open
MinhDat2001 opened this issue Oct 15, 2024 · 0 comments
Open

Can not emit usage to azure marketplace #775

MinhDat2001 opened this issue Oct 15, 2024 · 0 comments

Comments

@MinhDat2001
Copy link

MinhDat2001 commented Oct 15, 2024

Describe the bug
Can not emit usage to Azure marketplace

To Reproduce
Steps to reproduce the behavior:

  1. Get token
  2. get resourceId
  3. get the plan name
  4. send a request to emit usage
    {
    "resourceUri":"/subscriptions/{subscriptions-id}/resourceGroups/{resourceGroups-name}/providers/Microsoft.Solutions/applications/dattestapp",
    "planId":plan name,
    "effectiveStartTime":"2024-10-15T03:00:00.000Z",
    "dimension":"ncast4v3_1",
    "quantity":100
    }
    I expect to accept but get a response as follows:
    {
    "message": "Client is not authorized for this usage resource.",
    "code": "Forbidden"
    }

Additional context
Has anyone encountered this error? Can you explain it to me?

ps: This code worked before (January 2024), now I try again and get the same error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant