Skip to content

Commit 72f5d1b

Browse files
committed
Minor edits
1 parent cde29b3 commit 72f5d1b

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

microsoftgraph/docs-conceptual/index.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ landingContent:
4242
- text: Cmdlet map
4343
url: azuread-msoline-cmdlet-map.md
4444
- text: Migration FAQ
45-
url: https://docs.microsoft.com/en-us/powershell/azure/active-directory/migration-faq?view=azureadps-2.0
45+
url: /powershell/azure/active-directory/migration-faq?view=azureadps-2.0
4646

4747
# Card (optional)
4848
- title: Common use cases
@@ -77,9 +77,9 @@ landingContent:
7777
- linkListType: reference
7878
links:
7979
- text: V1.0 cmdlet reference
80-
url: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.applications/?view=graph-powershell-1.0
80+
url: /powershell/module/microsoft.graph.applications/?view=graph-powershell-1.0
8181
- text: Beta cmdlet reference
82-
url: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.applications/?view=graph-powershell-beta
82+
url: /powershell/module/microsoft.graph.beta.applications/?view=graph-powershell-beta
8383

8484

8585

@@ -91,10 +91,10 @@ landingContent:
9191
- text: Troubleshoot common errors in Microsoft Graph PowerShell
9292
url: troubleshooting.md
9393
- text: Permissions reference
94-
url: https://docs.microsoft.com/en-us/graph/permissions-reference
94+
url: /graph/permissions-reference
9595
- text: Advanced query capabilities
96-
url: https://docs.microsoft.com/en-us/graph/aad-advanced-queries?tabs=http
96+
url: /graph/aad-advanced-queries?tabs=http
9797
- text: API reference
98-
url: https://docs.microsoft.com/en-us/graph/api/overview?view=graph-rest-1.0
98+
url: /graph/api/overview?view=graph-rest-1.0
9999
- text: Microsoft Q&A
100-
url: https://docs.microsoft.com/en-us/answers/index.html
100+
url: https://learn.microsoft.com/answers/questions/

microsoftgraph/docs-conceptual/troubleshooting.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ To find the permissions required for a specific cmdlet or API, use [Find-MgGraph
3636

3737
When you run **Connect-MgGraph**, you grant consent to Microsoft Graph PowerShell permissions. Here, you specify the permissions that you require using the **-Scopes** parameter.
3838

39-
For example, in the error below, the user lacks the permissions to run the New-MgServicePrincipal cmdlet.
39+
For example, in the following error, the user lacks the permissions to run the New-MgServicePrincipal cmdlet.
4040

4141
:::image type="content" source="images/permissions-error.png" alt-text="Insufficient privileges error":::
4242

@@ -54,7 +54,7 @@ Application.ReadWrite.All True Read and write applications Allows the app to
5454

5555
Run `Connect-MgGraph -Scopes Application.ReadWrite.All` and retry to correct the error.
5656

57-
For app-only access, pre-configure the application permissions your app needs when you register your app. Application permissions will require administrator consent, which can be consented to either using the [Azure portal](/graph/auth-v2-service) or using a sign-up experience in your app.
57+
For app-only access, preconfigure the application permissions your app needs when you register your app. Application permissions require administrator consent, which you consent to either using the [Azure portal](/graph/auth-v2-service) or using a sign-up experience in your app.
5858

5959
Alternatively, use [New-MgServicePrincipalAppRoleAssignment](/powershell/module/microsoft.graph.applications/new-mgserviceprincipalapproleassignment) to assign app roles to your app.
6060

@@ -64,18 +64,18 @@ For more info, see [App-only authentication](app-only.md).
6464

6565
The **-Debug** parameter provides a powerful way to examine a script while it's running in order to identify and correct errors in the script. The following are the important parts of a **-Debug** output:
6666

67-
1. **cmdletBeginProcessing** - this part allows you to confirm the cmdlet you're running and the parameter list provided to the cmdlet. For example, `DEBUG: [CmdletBeginProcessing]: - Get-MgUser begin processing with parameterSet 'List1'.` shows that we're running the `Get-MgUser` cmdlet and the parameter list is `List1`.
68-
1. **AuthType** - will either be `delegated` or `application`.
69-
1. **AuthProviderType** - the type of authentication that you've used. For example, interactive, device-code, and certificate.
70-
1. **Scopes** - shows all the scopes that you've authenticated to for the particular application, acquired by decoding the access token.
67+
1. **cmdletBeginProcessing** - this part allows you to confirm the cmdlet you're running and the parameter list provided to the cmdlet. For example, `DEBUG: [CmdletBeginProcessing]: - Get-MgUser begin processing with parameterSet 'List1'.` shows that you're running the `Get-MgUser` cmdlet and the parameter list is `List1`.
68+
1. **AuthType** - is either `delegated` or `application`.
69+
1. **AuthProviderType** - the type of authentication that you're using. For example, interactive, device-code, and certificate.
70+
1. **Scopes** - shows all the scopes that you authenticated to for the particular application, acquired by decoding the access token.
7171
1. **HTTP request** - comprises of:
7272
1. Method - could be GET, POST, PUSH, UPDATE
73-
1. URI - URI will change based on the cloud you're connected to and the version of the SDK you're connected to.
73+
1. URI - URI changes based on the cloud you connected to and the version of the SDK you're running.
7474
1. Body - shows the body of your request.
75-
1. **HTTP response** - will comprise of the following information:
75+
1. **HTTP response** - comprises of the following information:
7676
1. Status code - this part provides the error code returned.
77-
1. When it shows `OK`, it means that the command run successfully.
78-
1. When it shows `Bad request`, take the URI and call it via `Invoke-MgGraphRequest` to determine if it's a service or a client issue.
77+
1. `OK`: the command run successfully.
78+
1. `Bad request`: take the URI and call it via `Invoke-MgGraphRequest` to determine if it's a service or a client issue.
7979
1. Headers - The most important headers are the `request-id` and `date`. These headers [help the support team](/graph/best-practices-concept#reliability-and-support) to determine the cause of the failure. Use this ID and timestamp as you log any issues for the support team to troubleshoot.
8080
1. Body - shows what the service returns. The most important part of the body is the `@odata.nextLink`, which provides a link to fetch the next page when the result is in multiple pages. If the request fails, the body will contain the error code and the error message.
8181

0 commit comments

Comments
 (0)