Hi @Etienne Duhamel ,
You could try to use implicitGrantSettings as these settings are unique to Client Credentials Flow to distinguish between OBO and Client Credentials Flow. You can Both enableAccessTokenIssuance and enableIdTokenIssuance have to be set to true for an app which will work as Client Credential Flow.
You can use Get Application Graph API, GET https://graph.microsoft.com/v1.0/applications/{id} .
"implicitGrantSettings": { "enableAccessTokenIssuance": true,
"enableIdTokenIssuance": true
}
Please refer to the documentation - implicitGrantSettings resource type
Thanks
Saurabh