Does it take time between when a service principal is created and when it can be used?

42 Views Asked by At

Following this tutorial, I was able to create a service principal. However, I observed that when I tried to use the password of service principal, I got the following error.

ClientSecretCredential.get_token failed: Authentication failed: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1002) Authentication failed: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1002)

Strangely, the code worked after a few retries. Does it take time between when a service principal is created and when it can be used?

0

There are 0 best solutions below