I am trying to deploy using ANT from one sandbox A to other sandbox B.
The profiles are failing on the deployment with following error.
system admin profile: unknown user permission: Managesandboxes
custom profile: unknown user permission: viewplatformevents
When I logged into both the sandboxes A & B, I could see the two system permissions from the error, exists in source A but not in target B.
Those permissions exist in prod as well and the source B is refreshed recently from prod.
Is this usual or what might cause these issues.
And if i migrate it to prod from our current target org B, will the existing permission in prod turn to false as it doesn't exist in B or its not effected as its not referenced anywhere.