Need help with using TTMSFNCCloudMicrosoftOutlookMail

I have been working to implement send email to Azure Outlook with FNC CloudPack for a while.
At some point it works to send email but there was one unsolved problems left with html in email.
But I believe that is solved now.

Any way after a pause of some months I look again at the project and it don't work at all !!!
I make a simple demo that send an email. I could catch the error in OnRequestComplete event.

ARequestResult.ResultString is

{"error":{"code":"InvalidAuthenticationToken","message":"ArgumentNull","innerError":{"date":"2025-06-10T10:43:20","request-id":"7868298a-adf3-42cd-b963-294edd1fcd80","client-request-id":"7868298a-adf3-42cd-b963-294edd1fcd80"}}}

The ini-file for token is created in logged in users folder but is always empty.
I attached the demo to this post.

Please help as this functionality is really needed. It might be a basic error that i missed.
I have tried to upgrade FCN Cloudpack and Core to latest version.

EmailDemo.zip (9.4 KB)

Please note that calling Connect will perform a "test token" call. This call will result in an ARequestResult.Success = False if the current access token is invalid. It will then try to retrieve a new access token.

With your OnRequestComplete event handler disabled, the sample app is working as expected.

// fOutLookEmail.OnRequestComplete := HandleRequestComplete;