I successfully followed this guide:
https://www.rickvandenbosch.net/blog/invite-aad-user-microsoft-graph/
and can use the Graph API to invite and add users to my Azure tenant.
I'm having a problem with the callback that the user is redirected to after authenticating, I want the user to be authenticated and so I was expecting an auth token to be returned as part of the callback, but there's nothing there.
I can find much information about this issue so I wonder if I'm doing it wrong. Any ideas?