We are currently using outlook rest api with getCallbackTokenAsync() as suggested here https://stackoverflow.com/a/57518222/13983926
The outlook rest api is now deprecat