Hi Narinder
To get the SharePoint site group name using Microsoft Graph API, you can try it from Ms Graph Explorer and later try to use call the MS Rest API from apps.
Please note that by default, MS Graph API has not exposed such endpoints to access SharePoint site groups. However, you can consider using the alternative method of accessing the hidden list “User Information List” that stores users (including groups) information. You can get the group name through this list. The endpoint is: https://graph.microsoft.com/v1.0/sites/{siteid}/lists/User Information List/items?expand=fields
You may filter further or iterate based on the object content-type "SharepointGroup'
Here is sample screenshot.
Hope this helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".