My problem refers to:
After debugging the rules, now I have it working except that only the function connectWithUser() cannot work, which actually redirects the user to the login page of Office 365 at:
with error message like:
“AADSTS50107: Requested federation realm object ‘urn:XXXXX’ does not exist.”
having conducted some searches on the web, it seems that, to login with “wsfed” protocol, the Office 365 domain has to be “federated”, which must be configured with Azure AD Connect, and some configurations are to be set up by using PowerShell.
any workaround if there is no on-premises AD synced with Azure AD?