I’m using the Node.js SDK in my application and noticed that, according to the documentation, the Get Grant API requires the expose_aliases=true query parameter to return the email_aliases.
However, I’m running into two issues:
-
The Node.js SDK doesn’t appear to support the
expose_aliasesquery parameter. -
When I call the REST API directly with
expose_aliases=true, it returnsemail_aliasesfor Google grants but not for Microsoft grants.
The documentation states that this feature is applicable to both Google and Microsoft grants, so I was expecting email_aliases to be returned for Microsoft as well.
Is there currently any way to retrieve email aliases for Microsoft accounts, or is this functionality only supported for Google at the moment?