diff --git a/docs/getting-started.md b/docs/getting-started.md index b26c3e6..72b155a 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -23,7 +23,7 @@ To get the benefit of intellisense and auto-complete for the Microsoft Graph Bic When you create a Bicep template, add the following statement, to make Microsoft Graph Bicep types readily accessible to the template. ```bicep -provider 'microsoftGraph@1.0.0' +provider microsoftGraph ``` Now, when creating a Bicep resource, the available Microsoft.Graph resource types will show up. diff --git a/docs/use-existing-resources.md b/docs/use-existing-resources.md index 9acd381..f4d91c2 100644 --- a/docs/use-existing-resources.md +++ b/docs/use-existing-resources.md @@ -54,7 +54,7 @@ Content-type: application/json Once the group resource is "back-filled", it can be referenced by its unique name, using the `existing` keyword in a Bicep template: ```Bicep -import 'microsoftGraph@1.0.0' +provider microsoftGraph @description('Group to use') param groupName string = 'TestGroup-2023-10-10' diff --git a/quickstart-templates/application-serviceprincipal-create-client-resource/main.bicep b/quickstart-templates/application-serviceprincipal-create-client-resource/main.bicep index 83517e1..b5b7fc4 100644 --- a/quickstart-templates/application-serviceprincipal-create-client-resource/main.bicep +++ b/quickstart-templates/application-serviceprincipal-create-client-resource/main.bicep @@ -1,4 +1,4 @@ -provider 'microsoftGraph@1.0.0' +provider microsoftGraph @description('Id of the application role to add to the resource app') param appRoleId string diff --git a/quickstart-templates/resource-application-access-grant-to-client-application/main.bicep b/quickstart-templates/resource-application-access-grant-to-client-application/main.bicep index b276832..448aad3 100644 --- a/quickstart-templates/resource-application-access-grant-to-client-application/main.bicep +++ b/quickstart-templates/resource-application-access-grant-to-client-application/main.bicep @@ -1,4 +1,4 @@ -provider 'microsoftGraph@1.0.0' +provider microsoftGraph @description('Id of the application role to add to the resource app') param appRoleId string diff --git a/quickstart-templates/security-group-assign-azure-role/main.bicep b/quickstart-templates/security-group-assign-azure-role/main.bicep index b6fff04..52ed9a6 100644 --- a/quickstart-templates/security-group-assign-azure-role/main.bicep +++ b/quickstart-templates/security-group-assign-azure-role/main.bicep @@ -1,4 +1,4 @@ -provider 'microsoftGraph@1.0.0' +provider microsoftGraph @description('Specifies the Reader role definition ID used in the role assignment.') param readerRoleDefinitionID string = 'acdd72a7-3385-48ef-bd42-f606fba81ae7' diff --git a/quickstart-templates/security-group-create-with-owners-and-members/main.bicep b/quickstart-templates/security-group-create-with-owners-and-members/main.bicep index 42ec281..8a0b872 100644 --- a/quickstart-templates/security-group-create-with-owners-and-members/main.bicep +++ b/quickstart-templates/security-group-create-with-owners-and-members/main.bicep @@ -1,4 +1,4 @@ -provider 'microsoftGraph@1.0.0' +provider microsoftGraph @description('location of the resource group') param location string = resourceGroup().location