Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduction of assigned licenses breaks existing group-based licensing #2191

Closed
anpiskai opened this issue Aug 16, 2022 · 3 comments · Fixed by #2275 or #2285
Closed

Introduction of assigned licenses breaks existing group-based licensing #2191

anpiskai opened this issue Aug 16, 2022 · 3 comments · Fixed by #2275 or #2285
Labels
Bug Something isn't working Entra ID

Comments

@anpiskai
Copy link

An existing configuration with groups did not have the AssignedLicenses parameter specified and as a result, when it ran the new build of DSC, it unlicensed the groups. This would make sense if the assignedLicenses was specified and configured to be null to avoid configuration drift, however the code shouldn't touch the AssignedLicenses on a group if that attribute is not specified. (Same for the Members attribute).

@andikrueger
Copy link
Collaborator

DSC will configure the parameter specified. If you do not wish to configure this parameter, please remove it completely within you configuration.

Pseudo Code that will control optional parameter

ResourceName DisplayName {
   KezParameter = "This is the Key"
   OptionalParameter = "Configure Something"
}

Pseudo Code that will not change the optional parameter

ResourceName DisplayName {
   KezParameter = "This is the Key"
}

@anpiskai
Copy link
Author

Neither is present in the attributes specified on the resource.
image

@andikrueger andikrueger added Bug Something isn't working Entra ID and removed Pending Information labels Aug 17, 2022
@andikrueger
Copy link
Collaborator

Thanks for confirming. This need to be investigated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Entra ID
Projects
None yet
2 participants