25,181 questions
This implies that the account you are using has not been assigned a P1/P2 license
More at https://learn.microsoft.com/en-us/answers/questions/821268/why-no-dynamic-group-option-greyed-out
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin