Symptoms
Sales Order hangs in Long Running Operation from the CloudBlue Commerce side, while the PR-cancelation request hangs in CB Connect side with an error:
Error on approving the suspend request. : {'code': 'AuthorizationFailed', 'message': "The client 'mike.d@yourdomain.com' with object id '' does not have authorization to perform action 'Microsoft.Subscription/cancel/action' over scope '/subscriptions/qc7t28ff-ab27-49af-827d-cb6ec32393b3' or the scope is invalid. If access was recently granted, please refresh your credentials."} (2b24d7f8-c2a3-469e-adaf-9e69075ab0d9)
Cause
The user that is used for the Marketplace Refresh Token has no enough permissions.
Resolution
1. Make sure that all the requirements for the generating Refresh Token are match: https://docs.cloudblue.com/connect/connectors/Azure/4.6/Azure_Distributor_Portal/Refresh%20Token.htm
2. Re-generate a Refresh Token for a Marketplace.