Has anyone had luck using the API poller with the azure application gateway? It looks like api to access the azure gateway wants a bearer token, but one that expires hourly. There is a mention of OATH2, but it seems to relate more to overall permissions than general access. I have been able to monitor other Microsoft resources with Graph (and the appropriate permissions assigned to that application), but this one is not cooperating.
THis blog seems to encapsulate the issue between graph and the management.azure api: Azure REST API: Please Sir, Can I Have Some Auth? • Andrew Best (andrew-best.com)
Here is the relevant MS page about the API that I am trying to use:
Application Gateways - Backend Health - REST API (Azure Application Gateway) | Microsoft Learn
If this is a simple answer and I am just not seeing it, please let me know. I suspect that I may need to create a token from my graph app, but I am not quite sure.
Thank you,
Marc