Notifications
Announcements
No record found.
Hi all,
I have developed one custom SOAP service in FO VM and now trying to consume that in .Net Console Application.
I have already done everything: Azure app registration, FO System Admin- Setup. I am also referring to the Git hub repository of the D365 FO web service.
Now I am facing a forbidden error when I am running my console application code.
Hi Pooja,
In another thread, you mentioned that you are using VHD? Is that correct? Have you checked that all parameters needed for authorization is correct especially AD resource (without trailing slash)
Are you able to test this service using any other tool like SOAPUI ? If not try to test and see if you are able to successfully test it. As mentioned by Sergei trailing slash in a resource while acquiring token could cause issues , so check that as well.
docs.microsoft.com/.../third-party-service-test
Testing in SOAPURI I will do and update you? where I have to check AD resource for trailing resources?
Can you check AuthenticationUtility class and make sure all parameter has been set?
Yes, I have cross-checked that also.
We have faced this error earlier for two reasons -
1. App registration API permissions. Please ensure the following permissions are enabled.
2. Are you authenticating with app secret or user Id & password? In case it's the latter, Does the user Id have appropriate access for Azure app registration and for F&O?
Hi All,
I have checked the azure app registration and already assigned permission to D365 ERP. I have checked SOAPURI and got a message: There is insufficient account information to log you on.
In azure I have register URL is: Https://<base URL>/soap/services
Will it be possible for you to share a screenshot of the API permissions under "Azure Active Directory Graph"?
Are you authenticating as a user or using client app secret?
Also, which user is configured for this App Id in F&O
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 Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 449 Super User 2025 Season 2
Martin Dráb 422 Most Valuable Professional
BillurSamdancioglu 239 Most Valuable Professional