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

Fix/teams compliance recording policy #3754

Open
wants to merge 19 commits into
base: Dev
Choose a base branch
from

Conversation

sandrola
Copy link
Contributor

@sandrola sandrola commented Oct 4, 2023

Pull Request (PR) description

Add CIM Instance to MSFT_TeamsComplianceRecordingPolicy to be able to compare with configured policy

This Pull Request (PR) fixes the following issues

Copy link
Member

@ykuijs ykuijs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few small comments

CHANGELOG.md Outdated Show resolved Hide resolved
@andikrueger
Copy link
Collaborator

@sandrola Thanks for your PR and the work you put into it! Any chance you could resolve conflicts and address Yorick's comments?

@pkernevez
Copy link
Contributor

As the original issue #3754 has been closed, I think this PR should be close

Copy link
Collaborator

@andikrueger andikrueger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one minor remark and a question for @NikCharlebois

CHANGELOG.md Outdated
@@ -14,6 +14,8 @@
* MISC
* M365DSCReport: Also define property dataType, if present, as being primary key on
CIM instances.
* TeamsComplianceREcordingPolicy
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor typo REcording

[ClassVersion("1.0.0.0"), FriendlyName("TeamsComplianceRecordingPolicy")]
class MSFT_TeamsComplianceRecordingPolicy : OMI_BaseResource
{
[Key, Description("Unique identifier of the application instance of a policy-based recording application to be retrieved.")] String Identity;
[Write, Description("A list of application instances of policy-based recording applications to assign to this policy. The Id of each of these application instances must be the ObjectId of the application instance as obtained by the Get-CsOnlineApplicationInstance cmdlet.")] String ComplianceRecordingApplications[];
[Write, Description("A list of application instances of policy-based recording applications to assign to this policy. The Id of each of these application instances must be the ObjectId of the application instance as obtained by the Get-CsOnlineApplicationInstance cmdlet."), EmbeddedInstance("MSFT_TeamsComplianceRecordingApplication")] String ComplianceRecordingApplications[];
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would we classify this as a breaking change @NikCharlebois

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, changing a param type is a breaking change unfortunately.

CHANGELOG.md Outdated
@@ -2,6 +2,8 @@

# UNRELEASED

* TeamsComplianceREcordingPolicy
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Picky, but typo in the name, please use lower case 'e'

[ClassVersion("1.0.0.0"), FriendlyName("TeamsComplianceRecordingPolicy")]
class MSFT_TeamsComplianceRecordingPolicy : OMI_BaseResource
{
[Key, Description("Unique identifier of the application instance of a policy-based recording application to be retrieved.")] String Identity;
[Write, Description("A list of application instances of policy-based recording applications to assign to this policy. The Id of each of these application instances must be the ObjectId of the application instance as obtained by the Get-CsOnlineApplicationInstance cmdlet.")] String ComplianceRecordingApplications[];
[Write, Description("A list of application instances of policy-based recording applications to assign to this policy. The Id of each of these application instances must be the ObjectId of the application instance as obtained by the Get-CsOnlineApplicationInstance cmdlet."), EmbeddedInstance("MSFT_TeamsComplianceRecordingApplication")] String ComplianceRecordingApplications[];
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, changing a param type is a breaking change unfortunately.

@NikCharlebois
Copy link
Collaborator

Can we please merge and update the PR with the latest changes? Thanks

@ykuijs
Copy link
Member

ykuijs commented Mar 27, 2024

There are still some conflicts with the Dev branch that need to get resolved before we can merge this PR. Could you have another look?

@sandrola sandrola requested a review from ykuijs May 16, 2024 06:43
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.

MSFT_TeamsComplianceRecordingPolicy attribute not exported correctly
5 participants