Skip to main content
Solved

Notebook 1_Authentication: Cannot authenticate to Azure


joseLB
Active
Forum|alt.badge.img

Hi: I’m doing DATA ENGINEER BASICS - INTEGRATE course.

Trying to execute Notebook 1, I cannot pass through the cell getting the authentication with Azure, namely:

creds = authenticate_azure()

Any help?

P.S. I’m using Google Colab

 

 

Best answer by Gaetan Helness

Hi @joseLB 
 

When using Google Collab, you cannot sign in interactively via a browser and use the authenticate with interactive login and token refresh flow, you need to use another authentication method.
Just scroll down a bit more to the section “Using Device Code” and run the code there. 
It will provide you an url and a code to connect in your browser. 

Hope that helps, let me know if any questions

View original
Did this topic help you find an answer to your question?

3 replies

Forum|alt.badge.img

Hi @joseLB 
 

When using Google Collab, you cannot sign in interactively via a browser and use the authenticate with interactive login and token refresh flow, you need to use another authentication method.
Just scroll down a bit more to the section “Using Device Code” and run the code there. 
It will provide you an url and a code to connect in your browser. 

Hope that helps, let me know if any questions


Forum|alt.badge.img

Once successfully logged in, you can use 

client.iam.token.inspect()

to verify your capabilities. 


joseLB
Active
Forum|alt.badge.img
  • Author
  • Active
  • 1 reply
  • March 16, 2023

It worked like a charm :-)

Thank you Greta / JLB.


Reply


Cookie Policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings