Hero Banner

Microsoft AppSource and Azure Marketplace

Learn how to grow your business by publishing your cloud solution on Microsoft AppSource and Azure Marketplace

Reply
AlexeyBoyko
Visitor 1

Resolve a subscription error - 400 InvalidValue Failed to decrypt token with either primary or secondary secret

Please give any info on this.

Steps:

  1. Customer select SaaS offer in Ms AppSource store and install it
  2. AppSource redirect user to my SaaS web page with ?token=<token> url parameter
  3. My SaaS web page try to resolve token: send POST to https://marketplaceapi.microsoft.com/api/saas/subscriptions/resolve?api-version=2018-08-31 with proper x-ms-marketplace-token header
  4. Some times it works, some times marketplaceapi return error 400
    InvalidValue Failed to decrypt token with either primary or secondary secret

I see this error in logs many times. How to fix it?

1 REPLY 1
brian_levenson
Microsoft

Hi Alexey, if you have not already, please submit a ticket to engage our support team for investigation and escalation. https://aka.ms/MarketplacePublisherSupport or through Partner Center.

 

Thanks!