Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

403 Error with GPService

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi

I'm having a problem while trying to use the GPService I've installed the 'Web Components' and testing GP Desktop, Web Client and the Web Console are working fine. However when I try to use the endpoints for the say getting customer information I get a error 403

I'm running a single Tenant environment (Default Tenant)

I've got a Windows account assigned to an account in GP that is a power user.

https://<My Domain>/GPService/Tenants(DefaultTenant)/Companies(Fabrikam, Inc.)/Dynamics/Sales/Customers

<DexResponse>
<RequestError>
<CorrelationId>852589b7ec8549febd17e80e85cf03a4</CorrelationId>
<HttpCode>403</HttpCode>
<ErrorCode>ApplicationLoginFailure</ErrorCode>
<Source>DexterityProcess</Source>
<Message>
The specified user is not authorized to perform operations in this context.
</Message>
</RequestError>
</DexResponse>

I've looked in to the logs and it seems that the issue is in the logs for the folder

C:\ProgramData\Microsoft Dynamics\GPSvc\Logs\Inst_DEFAULT_14\DexterityRequests\

[*Error*]::Request Exception (pipeline - expected)

ErrorType:[ApplicationLoginFailure]

Source:[DexterityProcess]

The specified user is not authorized to perform operations in this context.

Basically its the same message that comes back in the browser. This looks like I've missed some setup step to allow the process to continue but I can't find any documentation that gives any indication of what permissions or setup I've missed.

Anyone got any ideas.

Thanks in advance

*This post is locked for comments

  • Verified answer
    IFleet Profile Picture
    IFleet on at
    RE: 403 Error with GPService

    Hi VenUK

    I've had a similar issue and was able to resolve it. I've been working on and off this issue and I finally hit upon the answer.

    I did have 2 problems the first was certificate errors which were causing me to get an error in the 'C:\ProgramData\Microsoft Dynamics\GPSvc\Logs\Inst_DEFAULT_16\DexterityService\' logs having turned on verbose logging in the web management. This was fixed with proper certificates.

    However the certificate was not the underlying problem and what was stopping me from calling SBA endpoints. The issue turned out to be accessing SQL Server. The break through came when I came across an 'Information' level event in the 'Event Viewer' under 'Windows Logs' -> 'Application'.  The issue was this:

    Login failed for user 'Domain\Account'. Reason: Attempting to use an NT account name with SQL Server Authentication. [CLIENT: <local machine>]

    This was because during the install I had specified 'Windows Domain Account' for access rather than an 'SQL Account' doing a repair install and specifying an SQL Account instead of a windows domain one solved the issue and I can now hit the standard endpoints from Dynamics GP SBA.

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.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,309 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans