Skip to content

Update export of role group members#6831

Open
FabienTschanz wants to merge 1 commit intomicrosoft:Devfrom
FabienTschanz:fix/role-group-members
Open

Update export of role group members#6831
FabienTschanz wants to merge 1 commit intomicrosoft:Devfrom
FabienTschanz:fix/role-group-members

Conversation

@FabienTschanz
Copy link
Collaborator

Pull Request (PR) description

This PR updates the export format of the SCRoleGroupMember resource, where we now use the Alias property if it is an email address. Fallback to Name for every other type, like Service principals. This is to ensure uniqueness in a tenant, where multiple users with the same name can exist.

Due to the nature of this change (updating the name to its alias), this will result in drifts although the user itself didn't change, but our logic is not able to detect that without resolving the user. Therefore, I'll mark this as a breaking change.

This Pull Request (PR) fixes the following issues

Task list

  • Added an entry to the change log under the Unreleased section of the file CHANGELOG.md.
    Entry should say what was changed and how that affects users (if applicable), and
    reference the issue being resolved (if applicable).
  • Resource parameter descriptions added/updated in the schema.mof.
  • Resource documentation added/updated in README.md.
  • Resource settings.json file contains all required permissions.
  • Examples appropriately added/updated.
  • Unit tests added/updated.
  • New/changed code adheres to DSC Community Style Guidelines.

@FabienTschanz FabienTschanz force-pushed the fix/role-group-members branch from 33f054a to 4256239 Compare January 23, 2026 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

S&C Role Group member accepts only user DisplayName

1 participant