Office 365 monitoring

I will try this next:

curl -X POST https://login.microsoftonline.com//oauth2/v2.0/token
-H “Content-Type: application/x-www-form-urlencoded”
-d “client_id=”
-d “client_secret=”
-d “scope=https://graph.microsoft.com/.default
-d “grant_type=client_credentials”

The curl from checkmk server gives this. I’m using the correct app secret value, if I wasn’t other connections in checkmk would break for that subscription.

I got my team to generate a new client secret and this now appears to be working :slight_smile:

Thanks for all your help

Can I also just say how impressed I am with this special agent.

Hi Marc,

thanks for confirming, but then the solution was actually Clix’ post from above, wasn’t it :)?

Well no technically the solution was to create a new secret value, even though there were two other values already there and I was definitely using one of the previous ones (if I wasn’t the azure subscription would have failed).

Also, why does it alert and report on incidents from a while ago?

Any update on this issue please?