What is the best way to enable server to server authentication to the CI API.
Thanks
Hello Rangerforme,
The best way is use application user as explained here:
docs.microsoft.com/.../solutions-overview
Regards,
Not really what I had in mind. I need to call CI REST API methods from custom MVC application. Is there a way to assign OAuth client grant or use a security principal, all the sample I've seen are authenticated via user account.
https://global.api.ci.ai.dynamics.com/swagger/index.html
This might help you:
dev.to/.../create-a-rest-api-in-codeigniter-with-basic-authentication-1e7f
It explains the basic authentication method with code example.
Regards.
Hello there,
Yes, you are able to use OAuth with your code.
https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/authenticate-oauth
Hope above link helps you to understand this.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 138 Super User 2025 Season 2
#ManoVerse 107
MVP-Daniyal Khaleel 89