Solved

Notebook 1_Authentication: Cannot authenticate to Azure

  • 16 March 2023
  • 3 replies
  • 24 views

Badge

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

 

 

icon

Best answer by Gaetan Helness 16 March 2023, 20:01

View original

3 replies

Userlevel 3

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

Userlevel 3

Once successfully logged in, you can use 

client.iam.token.inspect()

to verify your capabilities. 

Badge

It worked like a charm :-)

Thank you Greta / JLB.

Reply