admin管理员组

文章数量:1400034

I am attempting to make use of several ADP API calls from within a Visual Studio 2022 C# MVC web application. The calls have all been successfully tested in development utilizing Postman and Visual Studio in "debug" mode. For example, my call to the "api.adp/hcm/v1/validation-tables/jobs" endpoint works flawlessly when run locally from both Postman and Visual Studio, returning a complete list of job titles.

My problem occurs when the Visual Studio project has been uploaded into production. The call made via the web browser to the production server (Windows Server 2022 and IIS 10) results in the following error message: "(0x8009030D): The credentials supplied to the package were not recognized".

I found a similar thread on Stackoverflow at "The credentials supplied to the package were not recognized" error when authenticating as server with certificate generated using BouncyCastle ; however, none of the suggestions there have worked for me.

I have verified that the required SSL certification files (i.e. cert.pfx, cert.key and cert.pem) are in the correct path (../certs/ADP) on the web server. I have also granted read/write permission to the folder and each of the affected files for the generic IIS "IUSR_SERVER" and "IUSR" user accounts, but to no avail. The following screenshots provide details with regard to the permissions that have been granted:

Where do I go from here? I would really like to integrate the APD API into my web app, but I can't seem to find a resolution.

Any assistance is greatly appreciated.

I am attempting to make use of several ADP API calls from within a Visual Studio 2022 C# MVC web application. The calls have all been successfully tested in development utilizing Postman and Visual Studio in "debug" mode. For example, my call to the "api.adp/hcm/v1/validation-tables/jobs" endpoint works flawlessly when run locally from both Postman and Visual Studio, returning a complete list of job titles.

My problem occurs when the Visual Studio project has been uploaded into production. The call made via the web browser to the production server (Windows Server 2022 and IIS 10) results in the following error message: "(0x8009030D): The credentials supplied to the package were not recognized".

I found a similar thread on Stackoverflow at "The credentials supplied to the package were not recognized" error when authenticating as server with certificate generated using BouncyCastle ; however, none of the suggestions there have worked for me.

I have verified that the required SSL certification files (i.e. cert.pfx, cert.key and cert.pem) are in the correct path (../certs/ADP) on the web server. I have also granted read/write permission to the folder and each of the affected files for the generic IIS "IUSR_SERVER" and "IUSR" user accounts, but to no avail. The following screenshots provide details with regard to the permissions that have been granted:

Where do I go from here? I would really like to integrate the APD API into my web app, but I can't seem to find a resolution.

Any assistance is greatly appreciated.

Share Improve this question edited Mar 26 at 20:17 rpowell6 asked Mar 24 at 18:31 rpowell6rpowell6 2451 gold badge4 silver badges18 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

After numerous attempts and various suggestions, I finally stumbled onto a remedy for this issue. Refer to the February 14, 2022 answer from Sümeyye Çakır in the following post:

"The credentials supplied to the package were not recognized" error when authenticating as server with certificate generated using BouncyCastle

In my case, changing the "Load User Profile" option from false to true on the affected application pool did the trick.

本文标签: sslWhy does my call to the ADP API work locally in Visual Studio but not in productionStack Overflow