Provisioning of domain fails:
An unexpected error has occurred during account member creation: 'PleskAutomation module: Account #42 has no necessary resources to create account member. at addAccountMember call'
Every subscription should have at least one user. Error above means that you reached Additional Staff Members resource limit and PA cannot create owner for the subscription.
Increase limit for the Additional Staff Members resource in the service template and rerun failed task.