Don't use the one from the SP, use
access_token = ml_client.online_endpoints.get_keys(name=endpoint_name).access_token
Authorization Token Error JWT Issuer Configuration
Leonardo CHIODI
5
Reputation points
I am recovering a token from my service principal (which has the rights to my endpoint). I then pass it to my headers post request to my endpoint and get the following response :
(401) Jwt issuer is not configured
Please check this guide to understand why this error code might have been returned
I am doing as said here https://learn.microsoft.com/en-us/azure/machine-learning/how-to-authenticate-online-endpoint?view=azureml-api-2&tabs=python
I've wandered the microsoft documentation and haven't found anything about the jwt issuer not being configured.
1 answer
Sort by: Most helpful
-
Leonardo CHIODI 5 Reputation points
2023-06-21T08:47:29.7433333+00:00