Hi dear community!
We have a .NET web application that is integrated with D365 FO.
on Cloud D365 FO, there are no issues, the integration is working fine.
But on-prem D365, we are facing a /get token/ issue, saying /invalid_grant/.
The Get token API is giving back the following error:
in the get token API call, we are providing the following parameters:
- resource= https://url.example/namespaces/AXSF
- client_id= 111-1111-111-111 (example)
- client_secret=1111111111 (example)
- Tenant = https://url.example/adfs
- grant_type = client_credentials
What am I missing here?
Although, it has worked on another on-prem environment , but for this on-prem environment specifically, I'm encountering this issue.
Any advice is appreciated !
Thanks in advance !