Microsoft Graph Security OAuth2 API

Thanks! Selecting “personal accounts” in the registration was the key part that made it work for me.