The permissions import script and import permission membership scripts, in their current form, share a lot of similar logic. For the import permissions script i need to retrieve all possible permissions which could be assigned, so i can use them in business rules. The permission membership import also needs all the imported permissions. This essentially means i have to import these same permissions 2 times, which for a snapshot will be back-to-back. For some permissions this can take a long time, especially with bigger environments or more complex retrievals (like Microsoft Teams with channels). The snapshot also cancels permission membership imports after a failure in one of the permission import script, which means the imported permissions are always available. Having the imported permissions available in the $ActionContext of the membership import script would; reduce potential mismatches in the imported permissions and imported memberships, enable faster imports, reduce complexity in the import membership script.