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: README.md
+12-11Lines changed: 12 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,10 +27,10 @@ The Microsoft Graph PowerShell module consists of a collection of PowerShell mod
27
27
## Modules
28
28
29
29
The table below contains links to our latest and preview versions of the Microsoft Graph module. The meta modules will install all the service modules as their dependencies.
See [Microsoft Graph PowerShell modules](https://github.com/microsoftgraph/msgraph-sdk-powershell/wiki/MS-Graph-PowerShell-Modules) for a list of all modules supported by this repository.
36
36
@@ -41,13 +41,13 @@ See [Microsoft Graph PowerShell modules](https://github.com/microsoftgraph/msgra
41
41
Microsoft Graph PowerShell module is published on [PowerShell Gallery](https://www.powershellgallery.com/packages/Microsoft.Graph). Installing is as simple as:
42
42
43
43
```powershell
44
-
Install-Module Microsoft.Graph -AllowPrerelease
44
+
Install-Module Microsoft.Graph
45
45
```
46
46
47
47
> Run `Install-Module` with AllowClobber and Force parameters if you run into command name conflicts when upgrading to older versions of the module:
See [Install the Microsoft Graph PowerShell Module](https://learn.microsoft.com/powershell/microsoftgraph/installation) guide for detailed installation instructions.
@@ -74,7 +74,7 @@ Get access to Microsoft Graph resources using the identity on an app and not on
@@ -133,19 +133,19 @@ See [v2 upgrade guide](https://github.com/microsoftgraph/msgraph-sdk-powershell/
133
133
134
134
When working with various operations in the Graph, you may encounter an error such as "Insufficient privileges to complete the operation." For example, this particular error can occur when using the `New-MgApplication` command if the appropriate permissions are not granted.
135
135
136
-
If permission-related errors occur and the signedin user/app has been granted the appropriate permissions to perform the operation, you can explicitly fetch a new access token by running `Disconnect-MgGraph`, then `Connect-MgGraph`. This will trigger a refresh of the access token in your cache. Microsoft Authentication Library (MSAL) will only refresh access tokens in your cache if they have expired (usually an hour).
136
+
If permission-related errors occur and the signed-in user/app has been granted the appropriate permissions to perform the operation, you can explicitly fetch a new access token by running `Disconnect-MgGraph`, then `Connect-MgGraph`. This will trigger a refresh of the access token in your cache. Microsoft Authentication Library (MSAL) will only refresh access tokens in your cache if they have expired (usually an hour).
137
137
138
138
### Common Errors
139
139
140
-
See our [troubleshooting guide](https://learn.microsoft.com/powershell/microsoftgraph/troubleshooting) for detailed view on how to troubleshoot common errors when using Microsoft Graph.
140
+
See our [troubleshooting guide](https://learn.microsoft.com/powershell/microsoftgraph/troubleshooting) for a detailed view of how to troubleshoot common errors when using Microsoft Graph.
141
141
142
142
## Known Issues
143
143
144
144
- Using `-Property {PropertyName}` parameter will not select the property as the output of the command. All commands return CLR objects, and customers should pipe the command outputs to `Format-Table` or `Select-Object` to return individual properties.
145
145
146
146
- Customers upgrading from previous versions of the SDK may encounter auth prompts on every command call. If this happens, one can use the following steps to reset their token cache:
147
147
- Use `Disconnect-MgGraph` to sign out of the current session.
148
-
- Run `Remove-Item "$env:USERPROFILE\.graph" -Recurse -Force` to delete your token cache.
148
+
- Run `Remove-Item "$env:USERPROFILE\.mg" -Recurse -Force` to delete your token cache.
149
149
- Run `Connect-MgGraph` to reconstruct a clean token cache.
150
150
151
151
## Feedback
@@ -163,6 +163,7 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT
0 commit comments