You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After creating the policy it cannot be updated, this is because the identity on set is being assigned to the same identity of the EXOHostedContentFilterPolicy which is not correct, I'll raise a PR to fix this.
Microsoft 365 DSC Version
1.24.626.1
Which workloads are affected
Exchange Online
The DSC configuration
EXOHostedContentFilterRule "EXOHostedContentFilterRule-EXOHostedContentFilterRule_1"
{
ApplicationId =$EXOApplicationId;
CertificateThumbprint =$EXOCertThumbprint;
Comments ="Applies to all users, except when member of HR group";
Enabled =$True;
Ensure ="Present";
ExceptIfSentToMemberOf =@("LegalTeam@$OrganizationName");
HostedContentFilterPolicy ="EXOHostedContentFilterPolicy_1";
Identity ="EXOHostedContentFilterRule_1";
RecipientDomainIs =@("contoso.com");
TenantId =$OrganizationName;
}
Verbose logs showing the problem
Ex6F9304|Microsoft.Exchange.Configuration.Tasks.ManagementObjectNotFoundException|The operation couldn't be performed because object 'EXOHostedContentFilterPolicy_1' couldn't be found on 'REDACTED.PROD.OUTLOOK.COM'.
Environment Information + PowerShell Version
Win11/PS5.1
The text was updated successfully, but these errors were encountered:
Description of the issue
After creating the policy it cannot be updated, this is because the identity on set is being assigned to the same identity of the
EXOHostedContentFilterPolicy
which is not correct, I'll raise a PR to fix this.Microsoft 365 DSC Version
1.24.626.1
Which workloads are affected
Exchange Online
The DSC configuration
Verbose logs showing the problem
Environment Information + PowerShell Version
The text was updated successfully, but these errors were encountered: