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

M365DSCReport: Also define property dataType, if present, as being primary key on CIM instances #3769

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

ricmestre
Copy link
Contributor

Pull Request (PR) description

Some CIM instances, most notably Assignments in almost all Intune resources have the property dataType but it's not being properly set as primary key in Get-M365DSCCimInstanceKey which might cause issues when comparing reports/blueprints.

This PR solves this by adding dataType as candidate for being primary key for CIM instances, just like odataType is already today.

This Pull Request (PR) fixes the following issues

None.

@andikrueger
Copy link
Collaborator

Thanks for suggesting this change! Could you please have a look at the conflict within the changelog?

@ricmestre
Copy link
Contributor Author

Done, if this gets in I'll update my other PR..

@NikCharlebois NikCharlebois merged commit 0acaddf into microsoft:Dev Oct 11, 2023
2 checks passed
@ricmestre ricmestre deleted the datatype branch November 23, 2023 00:47
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.

3 participants