I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "https://learn.microsoft.com/en-us/answers/support/accepted-answers#why-only-one-accepted-answer", I'll repost your solution in case you'd like to "Accept" the answer.
As per this QnA post https://learn.microsoft.com/en-us/answers/questions/983433/how-can-you-get-the-group-name-when-using-expressi.html above mentioned requirement is not supported.
Let me know if you have any further questions.