microsoftgraph / msgraph-bicep-types

Repo contains Microsoft Graph resource types to integrate with bicep templates.
MIT License
46 stars 7 forks source link

Right-click Bicep file -> Deploy error #92

Closed rajyraman closed 7 months ago

rajyraman commented 7 months ago

I am able to deploy from command line

image

But right click file and Deploy shows the following error.

image

Deployment pane also shows error.

image

dkershaw10 commented 7 months ago

Sorry about this. Per the error message, interactive deployments - i.e. with a signed in user - will only be supported for Az PS and Az CLI (and possibly Azure Cloud Shell), for public preview, for the foreseeable future. Right-click deploy from VS Code and VS will not be supported.

This was a relatively recent change that we forgot to mention in the release notes and known issues/limitations. This change is a workaround for the known issue mentioned (first) in https://github.com/microsoftgraph/msgraph-bicep-types/releases/tag/v0.1.0-alpha.5.