Jan 08 2022 08:01 AM
Jan 10 2022 03:04 AM
Hello @nooruls143,
This could be done, the easiest approach is running this on a schedule. If you want to run it automatically on site creation / project publish, you would need to build an event receiver application so that your custom code gets notified to execute etc. We wont be able to write the code for you here on this forum but here technically this is possible. If you search the web for adding users to SharePoint sites using CSOM you will find examples.
Paul