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
When exporting the SCAutoSensitivityLabelRule resource, the export includes all workloads instead of just the workload the rule applies to. When you then try to re-import the created export, you are getting error messages.
The issue is caused by the fact that the code is iterating through the Workloads property, which contains all possible workloads. The LogicalWorkload property contains the workload the rule is actually assigned to.
Microsoft 365 DSC Version
DEV
Which workloads are affected
Security & Compliance Center
The DSC configuration
N/A
Verbose logs showing the problem
N/A
Environment Information + PowerShell Version
N/A
The text was updated successfully, but these errors were encountered:
Description of the issue
When exporting the SCAutoSensitivityLabelRule resource, the export includes all workloads instead of just the workload the rule applies to. When you then try to re-import the created export, you are getting error messages.
The issue is caused by the fact that the code is iterating through the Workloads property, which contains all possible workloads. The LogicalWorkload property contains the workload the rule is actually assigned to.
Microsoft 365 DSC Version
DEV
Which workloads are affected
Security & Compliance Center
The DSC configuration
N/A
Verbose logs showing the problem
N/A
Environment Information + PowerShell Version
N/A
The text was updated successfully, but these errors were encountered: