When Provisioning/Migrating Teams with Private channels using On Demand Migration you may see the following error:
Request failed with Unauthorized status code (Unauthorized)."Caller does not have the required permissions for accessing this API.
How does this affect me?
This affects the Teams workload in On Demand Migration only. If you are not experiencing this error or have finished running your migration project this may not apply to you.
To resolve the issue you will need to regrant permissions to the Teams module on both the source and the target.
Knowledge base 330780 describes the steps needed to make sure you are able to move past this error quickly.We apologize for the inconvenience this issue may have caused and look forward to assisting you in the future.