Closed slavizh closed 5 months ago
@slavizh I can see it mentioned twice in the quickstart. Maybe it's not prominent enough?
In the "Add a Microsoft Graph application group" it says:
In main.bicep, type provider microsoftGraph
, to let the Bicep compiler know that you're including Microsoft Graph types.
At the end of "Make the managed identity an owner of the group resource", it says: Your main.bicep file should now look something like:
provider microsoftGraph
param location string = resourceGroup().location
...
Please let me know what you think to make this more prominent, or resolve.
Ok. I think than the misunderstanding mostly comes from here:
The first one is just mentioned where the other example is shown as code block where you can do copy.
Fair enough, and I can see where the confusion comes from. I think we can make a simple change to update the 2nd code snippet to include the provider declaration.
@slavizh please take another look at the docs. If the latest updates fix the issue, please close, otherwise let me know what other things you need to see to address the issue.
@dkershaw10 closing. I think now it is better. Thanks!
The example here: https://learn.microsoft.com/en-us/graph/templates/quickstart-create-bicep-interactive-mode?tabs=CLI is missing provider microsoftGraph declaration to be added in the file which will cause to not see the resource providers for graph.