Skip to content

Commit 3aaa9a6

Browse files
authored
Merge pull request MicrosoftDocs#303 from msewaweru/issue-296
Updated the limitations section of the migration steps
2 parents 1c9810c + a9d0459 commit 3aaa9a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

microsoftgraph/docs-conceptual/migration-steps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Get-MgUser -ConsistencyLevel eventual -Count userCount -Filter "startsWith(Displ
8181

8282
There are limitations that currently exist in Microsoft Graph PowerShell, either by design or due to some functionality that is yet to be built in.
8383

84-
- There isn't yet an equivalent of **-SearchString** for `Get-AzureADUser` and `Get-AzureADGroup` commands. Use **-Filter** instead. For example, `Get-MgUser -Filter "DisplayName eq 'Lee Gu'"` returns the user whose display name is equal to the specified string.
84+
- For the equivalent of **-SearchString**, use **-Search** and **-ConsistencyLevel eventual** in all cases. Note that the query may still work without eventual .You can also use **-Filter** instead. For example, `Get-MgUser -Filter "DisplayName eq 'Lee Gu'"` returns the user whose display name is equal to the specified string.
8585
- You need to use hash tables to pass nested parameters. See a sample of [Nested parameters](https://github.com/microsoftgraph/msgraph-sdk-powershell/blob/dev/samples/9-Applications.ps1#L28-L43).
8686
- **Pro-tip**: Use the Microsoft Graph PowerShell **-ConsistencyLevel** parameter. It lets you do $count! To learn more about the **-ConsistencyLevel** parameter, see [Advanced query parameters](/graph/aad-advanced-queries).
8787

0 commit comments

Comments
 (0)