A 401 response could be caused by one of the following items:
- The resource_id (= audience) is missing in the token request.
- The subscription key (= Ocp-Apim-Subscription-Key) is missing in the API request.
- Your client has not been registered yet by a Kazi administrator.
- You do not have the necessary rights to make this API call.
Should your issue persist, see the article about switching to production for more information or contact an administrator.