PnP-Sites-Core
PnP-Sites-Core copied to clipboard
[FEATURE] Ignore missing principals when applying the provisioning
Is your feature request related to a problem? Please describe. I'm always frustrated when moving templates between tenants. The templates often contain permissions for users that might not be present on the target tenant. But I don't care. It should just carry the existing ones over.
Currently provisioning fails and I have to remove non-existing principals by hand. One by one. Each removal needs another provisioning run since I don't know which users will be missing. This takes time.
Describe the solution you'd like I'd like the engine to ignore missing principals. Issue a warning and carry on privisioning:
Describe alternatives you've considered One alternative could be to prepare the template file to only contain existing principals.
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.