No endpoint is hardcoded. The Settings → "Cloud environment" selector maps:
| Environment | Graph host | Sign-in authority |
|---|---|---|
| Commercial | https://graph.microsoft.com | https://login.microsoftonline.com |
| GCC | https://graph.microsoft.com | https://login.microsoftonline.com |
| GCC High | https://graph.microsoft.us | https://login.microsoftonline.us |
| DoD | https://dod-graph.microsoft.us | https://login.microsoftonline.us |
Notes:
.us sovereign endpoints.mentions with mentioned.tag is rejected, the post still succeeds without the mention and the audit row records the response.