Skip to content

🪲 Get-EntraGroup | -SearchString Example 5 in Docs Could be Better? #1541

@dougvm

Description

@dougvm

In the documentation, it's stated that in example 5, you can search for groups that contain a string with -SearchString and it will pull up any group that contains the string provided to the parameter... this doesn't seem fully accurate though?

The way it's worded in the title of the example as well as in the description quoted below, the documentation makes it sound like it will do a "-Contains" esque search.

This example demonstrates how to retrieve groups that include the text new in their display names from Microsoft Entra ID.

Also I feel like the description / example could be updated to note that it would not find a group titled "Group (New)" because it does not start with New.

Thanks for reporting the bug. Please ensure you've gone through the following checklist before opening an issue:

  • Make sure you can reproduce this issue using the latest released version of Microsoft.Entra or Microsoft.Entra.Beta.
  • Please search the existing issues to see if there has been a similar issue filed.

Describe the bug

Not an actual bug with any code.

To Reproduce

n/a

Steps to reproduce the behavior:

  1. Execute -Entra with ...
  2. See error at ...

Expected behavior

n/a

Debug Output

⚠ ATTENTION: Be sure to remove any sensitive information that may be in the logs.

Debug Output

Module Version

Environment Data

Screenshots

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions