Hello @HASLEHNER, MYLENE
Thanks for reaching out to us.
The error message you received indicates that the Azure ML SDK was unable to retrieve a token from the included credentials. This can happen if the credentials you are using are invalid or if there is an issue with the authentication process.
To resolve this issue, you can try the following steps**:**
Check that you have the correct credentials for your Azure account. You can do this by logging into the Azure portal and checking the credentials for your account.
If you are using a service principal for authentication, make sure that the service principal has the correct permissions to access the resources you are trying to use.
Check that your environment variables are set correctly. You can set environment variables in the notebook by using the os
module. For example, to set the AZURE_CLIENT_ID
environment variable, you can use the following command:
import os
os.environ['AZURE_CLIENT_ID'] = '<your-client-id>'
Replace <your-client-id>
with the actual client ID for your Azure account.
If you continue to experience issues, you may want to try using a different authentication method, such as interactive authentication or managed identity.
It's difficult to say exactly which commands in the notebook need to be written to avoid this error without seeing the notebook itself. However, you can try setting the environment variables as described above and see if that resolves the issue.
Let me know how it works. I am happy to help you further.
Regards,
Yutong
-Please kindly accept the answer and vote 'Yes' if you feel helpful to support the community, thanks a lot.