-
Notifications
You must be signed in to change notification settings - Fork 437
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
base: Dev
Are you sure you want to change the base?
Fix/teams compliance recording policy #3754
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few small comments
...SC/DSCResources/MSFT_TeamsComplianceRecordingPolicy/MSFT_TeamsComplianceRecordingPolicy.psm1
Outdated
Show resolved
Hide resolved
@sandrola Thanks for your PR and the work you put into it! Any chance you could resolve conflicts and address Yorick's comments? |
As the original issue #3754 has been closed, I think this PR should be close |
There was a problem hiding this 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 |
There was a problem hiding this comment.
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[]; |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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[]; |
There was a problem hiding this comment.
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.
Can we please merge and update the PR with the latest changes? Thanks |
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? |
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