JavaScript single-page application calling Microsoft Graph with delegated permissions to manage Azure AD B2C user accounts