Hi George,
It looks like you’re trying to run the Microsoft Graph Connector without user login like a background service but it’s still asking for a login. This usually happens when the setup is using delegated permissions, which need a signed-in user.
for this you can try,
Go to Azure AD > App registrations, and make sure your app is set up to use the Client Credentials flow.
Assign application permissions (not delegated ones).
Generate a Client Secret (or use a certificate).
In your Mendix app, configure the module to authenticate using the Client ID and Client Secret to get tokens.
AADSTS900383: Internal error has occurred during a redirect. Please login directly to your National Cloud dedicated portal.
This usually means your app is trying to log in to the wrong type of Azure cloud (like public vs. national cloud).
you can try,
Check if your Azure account is in a national cloud (like Azure Gov, China, etc.).
If yes, you need to update the token endpoint URL accordingly. For example:
Error parsing JSON. next on empty iterator at MicrosoftGraph.SUB_Group_GetAll
your application tried to map data from the API, but the response was empty or not in the format it expected.
For this,
Use tools like Postman to manually call the Microsoft Graph API endpoint and inspect the response.
Ensure that the API returns the expected data.
For more refer the,
Microsoft Graph Connector Documentation
Troubleshoot issues with the Microsoft Graph connectors
Support Authenticating to National Cloud Deployments #396
Why is requesting a bearer access token for microsoft graph api not working - StackOverflow
I hope this these links more helpful for you.
Thanks
Guna