Hi @darksaber , Have you seen this document about creating an ARM template? I believe you can use this to automatically assign roles. I don't have an exact sample for this but there should be enough information there to piece it together. If you have any questions about it please let me know and I can help!
If this answer helped you please mark it as "Verified" so other users may reference it.
Thank you,
James