Azure CLI Error when attempting to run a Microsoft Learn Web App

Copper Contributor

Hi,

 

I am a Microsoft Azure learner with a problem working on of the exercises.  

 

Secure your application by using OpenID Connect and Azure AD - Training | Microsoft Learn

 

I follow the instructions, then I reach the place to launch the web app and receive the following error:

"Invalid language type dotnetcore Windows OS".

 

I have installed the most recent dotnetcore web app version up to Dot Net 7.  I verify this in the CLI.  Can someone advise what is happening here?

 

Thanks,

Scott

 

4 Replies

@Kidd_Ip Hi, yes I read that article in detail, however I haven't found any troubleshooting that would resolve the error mentioned.

Thanks,

 

@chapr0271 

try to add "--os Linux" at the end of the command:

 

Yes, that worked! Thanks very much!