You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/getting-started.md
+16-10Lines changed: 16 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,9 @@ To use the private preview you'll need to install [Bicep tools](https://learn.mi
7
7
If you already have the Bicep extension for VS Code (or Visual Studio) make sure that you have the latest version (v0.21.1 or later).
8
8
Earlier versions do not have the Microsoft Graph Bicep Extension.
9
9
10
-
## Creating a Bicep template
10
+
If you are new to [Bicep](https://learn.microsoft.com/azure/azure-resource-manager/bicep/overview?tabs=bicep), we strongly recommend that you start by getting familiar with Bicep by trying out the [Bicep quickstarts](https://learn.microsoft.com//azure/azure-resource-manager/bicep/quickstart-create-bicep-use-visual-studio-code?tabs=CLI) and [Bicep tutorials](https://learn.microsoft.com/azure/azure-resource-manager/bicep/learn-bicep).
11
+
12
+
## Creating a Bicep template with Microsoft Graph Bicep types
11
13
12
14
To get the benefit of intellisense and auto-complete for the Microsoft Graph Bicep types, you need to enable some experimental features in the Bicep config. Follow the steps in this [Bicep configuration topic](https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/bicep-config), to create a Bicep config file, and add:
13
15
@@ -24,19 +26,23 @@ When you create a Bicep template, add the following statement, to make Microsoft
24
26
import 'microsoftGraph@1.0.0'
25
27
```
26
28
27
-
Now, when creating a Bicep resource, the available Microsoft.Graph resource types will show up:
29
+
Now, when creating a Bicep resource, the available Microsoft.Graph resource types will show up.
Bicep templates can be deployed using Azure CLI or PowerShell.
43
+
Bicep templates can be deployed using [Azure CLI](https://learn.microsoft.com/cli/azure/install-azure-cli) or [Azure PowerShell](https://learn.microsoft.com/powershell/azure/install-azure-powershell).
38
44
39
-
Deployment will only work for tenants that have been enrolled to the private preview.
45
+
> **NOTE**: Deployment will only work for tenants that have been enrolled to the private preview.
40
46
41
47
## Next steps
42
48
@@ -47,4 +53,4 @@ We've created some quick-start templates to get you started.
47
53
3.[Create a security group with owners and members](../quickstart-templates/security-group-create-with-owners-and-members/)
48
54
4.[Assign an Azure role to a security group](../quickstart-templates/security-group-assign-azure-role/)
49
55
50
-
Feel free to contribute and share your own samples too!
56
+
Feel free to contribute and share your own samples too, by creating some PRs for template examples!
Copy file name to clipboardExpand all lines: quickstart-templates/application-serviceprincipal-create-client-resource/README.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,15 @@
2
2
3
3
This template allows you to create a client application and a resource application, along with their service principals.
4
4
5
-
* The client application is created with an optional key credential. The key can be passed in as a parameter. [Get The Certificate Key](https://learn.microsoft.com/en-us/graph/applications-how-to-add-certificate?tabs=http#get-the-certificate-key) mentions the steps to get the certificate key
5
+
* The client application is created with an optional key credential. The key can be passed in as a parameter. [Get The Certificate Key](https://learn.microsoft.com/en-us/graph/applications-how-to-add-certificate?tabs=http#get-the-certificate-key) mentions the steps to get the certificate key for a self-signed certificate. Here's a basic script:
* The resource application is created with an optional app role. The id for the app role can be passed in as a parameter.
7
15
8
16
You can deploy the template with the following Azure CLI command (replace `<resource-group>`, `<app-role-id>` and `<cert-key>` with the necessary values for your deployment):
0 commit comments