Skip to content

Commit c55219d

Browse files
authored
Merge pull request #232 from microsoftgraph/dkershaw10-copilot-integration
Updates to enable Bicep copilot integration
2 parents 429b863 + 5d75a67 commit c55219d

23 files changed

Lines changed: 125 additions & 15 deletions

File tree

quickstart-templates/application-serviceprincipal-create-client-resource/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Create client and resource apps
22

3-
> **Note**: Minimum Bicep version required to deploy this quickstart template is [v0.30.3](https://github.com/Azure/bicep/releases/tag/v0.30.3).
3+
> **Note**: Minimum Bicep version required to deploy this quickstart template is [v0.32.4](https://github.com/Azure/bicep/releases/tag/v0.32.4).
44
55
This template allows you to create a client application and a resource application, along with their service principals.
66

quickstart-templates/application-serviceprincipal-create-client-resource/bicepconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
},
55
// specify an alias for the version of the v1.0 dynamic types package you want to use
66
"extensions": {
7-
"microsoftGraphV1": "br:mcr.microsoft.com/bicep/extensions/microsoftgraph/v1.0:0.1.8-preview"
7+
"microsoftGraphV1": "br:mcr.microsoft.com/bicep/extensions/microsoftgraph/v1.0:0.2.0-preview"
88
}
99
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"$schema": "https://aka.ms/azure-quickstart-templates-metadata-schema#",
3+
"type": "QuickStart",
4+
"itemDisplayName": "Create client and resource apps",
5+
"description": "This template creates a client application and a resource application, along with their service principals.",
6+
"summary": "This template creates a client application and a resource application, along with their service principals.",
7+
"githubUsername": "dkershaw10",
8+
"docOwner": "dkershaw10",
9+
"dateUpdated": "2025-03-17",
10+
"validationType": "Manual",
11+
"languages": ["bicep"]
12+
}

quickstart-templates/apps-permissions-and-grants/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The sample also enables the deployer to set an owner of the client application,
3131

3232
- A valid **Azure subscription**: If you don't own an Azure subscription, [create a free account](https://azure.microsoft.com/free/) before you begin.
3333
- An **Azure resource group** that you own under a valid Azure subscription, or [deploy without an Azure subscription][no-azure-sub].
34-
- [Bicep tools for authoring and deployment](https://learn.microsoft.com/graph/templates/quickstart-install-bicep-tools). The minimum required Bicep version is v0.32.4.
34+
- [Bicep tools for authoring and deployment](https://learn.microsoft.com/graph/templates/quickstart-install-bicep-tools). The minimum required Bicep version is [v0.32.4](https://github.com/Azure/bicep/releases/tag/v0.32.4).
3535
- Have the requisite **Microsoft Entra roles** to deploy this template:
3636

3737
- Permissions to create applications. [Users have this permission by default](https://learn.microsoft.com/entra/fundamentals/users-default-permissions#compare-member-and-guest-default-permissions). However, [admins can turn off this default](https://learn.microsoft.com/entra/fundamentals/users-default-permissions#restrict-member-users-default-permissions) in which case you need to be assigned at least the [Application Developer](https://learn.microsoft.com/entra/identity/role-based-access-control/permissions-reference#application-developer) role.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"$schema": "https://aka.ms/azure-quickstart-templates-metadata-schema#",
3+
"type": "QuickStart",
4+
"itemDisplayName": "Configure an app with scopes to call Microsoft Graph",
5+
"description": "This template configures an app with OAuth2.0 scopes to call Microsoft Graph. It creates a client application and depending on the mode parameter, and either sets the required resource access on the client application definition, or grants OAuth2.0 scopes to the client application. In either case, the target resource used is Microsoft Graph, and the deployer can select which Microsoft Graph OAuth2.0 scopes are used.",
6+
"summary": "This template configures an app with OAuth2.0 scopes to call Microsoft Graph.",
7+
"githubUsername": "dkershaw10",
8+
"docOwner": "dkershaw10",
9+
"dateUpdated": "2025-03-17",
10+
"validationType": "Manual",
11+
"languages": ["bicep"]
12+
}

quickstart-templates/create-client-app-sp-with-kv-cert/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Create a client app with an X509 certificate from Key Vault as the credential
22

3-
> **Note**: Minimum Bicep version required to deploy this quickstart template is [v0.30.3](https://github.com/Azure/bicep/releases/tag/v0.30.3).
3+
> **Note**: Minimum Bicep version required to deploy this quickstart template is [v0.32.4](https://github.com/Azure/bicep/releases/tag/v0.32.4).
44
55
The template creates a Key Vault, through which the authorized managed identity can add an X509 certificate (if it doesn't exist) and get the certificate's public key (base64 encoded), along with the thumbprint and other metadata.
66
Finally the template creates the client application resource using the certificate public key as its credential. followed

quickstart-templates/create-client-app-sp-with-kv-cert/bicepconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
},
55
// specify an alias for the version of the v1.0 dynamic types package you want to use
66
"extensions": {
7-
"microsoftGraphV1": "br:mcr.microsoft.com/bicep/extensions/microsoftgraph/v1.0:0.1.8-preview"
7+
"microsoftGraphV1": "br:mcr.microsoft.com/bicep/extensions/microsoftgraph/v1.0:0.2.0-preview"
88
}
99
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"$schema": "https://aka.ms/azure-quickstart-templates-metadata-schema#",
3+
"type": "QuickStart",
4+
"itemDisplayName": "Create an app with an X509 certificate using Key Vault.",
5+
"description": "This template creates a Key Vault, through which the authorized managed identity can add an X509 certificate (if it doesn't exist) and get the certificate's public key (base64 encoded), along with the thumbprint and other metadata. Finally, the template creates the client application resource using the certificate public key as its credential. followed by creation of the service principal",
6+
"summary": "This template creates a client app with an X509 certificate from Key Vault as the credential",
7+
"githubUsername": "dkershaw10",
8+
"docOwner": "dkershaw10",
9+
"dateUpdated": "2025-03-17",
10+
"validationType": "Manual",
11+
"languages": ["bicep"]
12+
}

quickstart-templates/create-fic-for-github-actions/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ For limitations on federated identity credentials, please refer to [Federated id
1818

1919
* Ownership of a GitHub repo.
2020
* Have a valid **Azure subscription**: If you don't own an Azure subscription, [create a free account](https://azure.microsoft.com/free/) before you begin.
21-
* [Bicep tools for authoring and deployment](https://learn.microsoft.com/graph/templates/quickstart-install-bicep-tools). The minimum required Bicep version is v0.30.3.
21+
* [Bicep tools for authoring and deployment](https://learn.microsoft.com/graph/templates/quickstart-install-bicep-tools). The minimum required Bicep version is [v0.32.4](https://github.com/Azure/bicep/releases/tag/v0.32.4).
2222
* Have a **Microsoft Entra role** that assigns you permissions to create applications. [Users have this permission by default](https://learn.microsoft.com/entra/fundamentals/users-default-permissions#compare-member-and-guest-default-permissions). However, [admins can turn off this default](https://learn.microsoft.com/entra/fundamentals/users-default-permissions#restrict-member-users-default-permissions) in which case you need to be assigned at least the [Application Developer](https://learn.microsoft.com/entra/identity/role-based-access-control/permissions-reference#application-developer) role.
2323

2424
### Deploy the Bicep template

quickstart-templates/create-fic-for-github-actions/bicepconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
},
55
// specify an alias for the version of the v1.0 dynamic types package you want to use
66
"extensions": {
7-
"microsoftGraphV1": "br:mcr.microsoft.com/bicep/extensions/microsoftgraph/v1.0:0.1.8-preview"
7+
"microsoftGraphV1": "br:mcr.microsoft.com/bicep/extensions/microsoftgraph/v1.0:0.2.0-preview"
88
}
99
}

0 commit comments

Comments
 (0)