Hi Experts

So we have a use case where we are using a security group to control access to the Dynamics application. One of the requirements we have and looking to implement is automation to user provisioning process. I am really keen to find out how other have tackled the following:

1. How to add a user automatically to a security group once they are added in O365

2. How to automatically disable users and remove them from a security group

3.In General how have you automated user provisioning within any projects you have worked on.

Looking forward to hear your experiences