@HvardKristiansen-214
Thank you for your post and I apologize for the delayed response!
When it comes to validating a dynamic group membership rule in Azure Active Directory, since this feature is still in preview, there currently isn't an ETA for supporting the assignment of the required roles via indirect group membership. If you'd like this feature to be available, I'd recommend leveraging our User Voice forum and creating a feature request, so our engineering team can look into implementing this.
I've also created an internal feature request, so our engineering team is aware of this as well.
If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.
----------
Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.