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
While with a customer performing an export of their policies we found a problem with one of their TeamsGroupPolicyAssignments where the assignment was done to an already deleted group and therefore the export of TeamsGroupPolicyAssignment resources stopped, fortunately only skipped one additional assignment that wasn't exported but it means that with this problem it could basically skip dozens or hundreds of assignments if a single problem with an assignment is found.
Fix is to skip the assignment to the next one if group is not found.
EDIT: Actually now that I've looked again it skipped only one additional assignment when the error occurred but it didn't save any of the other assignments that it had already exported to the final blueprint.
Description of the issue
While with a customer performing an export of their policies we found a problem with one of their TeamsGroupPolicyAssignments where the assignment was done to an already deleted group and therefore the export of TeamsGroupPolicyAssignment resources stopped, fortunately only skipped one additional assignment that wasn't exported but it means that with this problem it could basically skip dozens or hundreds of assignments if a single problem with an assignment is found.
Fix is to skip the assignment to the next one if group is not found.
EDIT: Actually now that I've looked again it skipped only one additional assignment when the error occurred but it didn't save any of the other assignments that it had already exported to the final blueprint.
Microsoft 365 DSC Version
1.24.228.1
Which workloads are affected
Teams
The DSC configuration
N/A
Verbose logs showing the problem
N/A
Environment Information + PowerShell Version
The text was updated successfully, but these errors were encountered: