When creating a group in the unified API, it assigns our other domain. The code below assigns the name tgr@FuseFX.onmicrosoft.com instead of tgr@fusefx.com (fusefx.com is our default domain, and we can't remove the onmicrosoft one.)
Is there anything that I need to specify to force it to use the proper domain, or is this a bug?
POST https://graph.microsoft.com/beta/fusefx.com/groups
Content-Type: application/json
{
"groupTypes": ["Unified"],
"description": "Test Group",
"displayName": "Test Group",
"mailNickname": "tgr",
"mailEnabled": "true",
"securityEnabled": "true"
}