Skip to content

Improve reliability by using GroupId directly in manage-creation-of-groups article#13920

Open
Octavius97 wants to merge 1 commit intoMicrosoftDocs:publicfrom
Octavius97:patch-5
Open

Improve reliability by using GroupId directly in manage-creation-of-groups article#13920
Octavius97 wants to merge 1 commit intoMicrosoftDocs:publicfrom
Octavius97:patch-5

Conversation

@Octavius97
Copy link
Copy Markdown
Contributor

Update the example cmdlet to reference the GroupId directly instead of resolving it via the group DisplayName. Relying on Where-Object with DisplayName can return null or multiple results when groups share the same name, which may lead to incorrect behavior or script failures. Using GroupId ensures accuracy and consistency.

…roups article

Update the example cmdlet to reference the `GroupId` directly instead of resolving it via the group `DisplayName`. Relying on `Where-Object` with `DisplayName` can return `null` or multiple results when groups share the same name, which may lead to incorrect behavior or script failures. Using `GroupId` ensures accuracy and consistency.
@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 5c5abb2:

✅ Validation status: passed

File Status Preview URL Details
microsoft-365/solutions/manage-creation-of-groups.md ✅Succeeded

For more details, please refer to the build report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant