Create a SAIK for CT user
Problem:
A Course Provider user for API, role code CT, has been created and in order to consume the web service there is a SAIK required. The ability for the user to request a SAIK has been removed from the application as it was causing too many problems.
The code to create a SAIK still exists in the repo and requires some edits so it can be run locally.
There is a PBI submitted to make this function available to an Admin user but until this PBI is published in PRODUCTION this is a work around.
Solution:
Clone the PCOCDS PDF application at: PCOCDS-Admin - Repos (azure.com)
Once the application is running locally and connected to the environment where you wish to create the SAIK, open PDF >> classes >> clsBO.vb
Comment out lines 1055 and 1056:
Run the PDF application and login as a CP user or the new API user from the same organization.
Once logged in, edit the url to http://localhost:65062/p6000.aspx
Select the Download SAIK link.
This will create a SAIK, and download a xml file containing the SAIK.
Open the xml file, and get the SAIK for use in the web service calls.