The following error appears while importing a solution from our Dev (Unmanaged) to our Test( Managed) environment.
"Access denied. The site value included in this solution cannot be accessed with the selected connection. "
This message appears under the text box for the SharePoint environment variable where the SharePoint site to be used in the new environment is entered. Normally the text box is able to be typed in but now it is grayed out and no entries can be made.
This had been working previously up to version 15 (1.0.0.15) but version 16 and beyond the above error message appears.
The Connection References existed in version 15 and still exist in version 16 and beyond, currently on v22. The Connection References use my personal ID and a functional account setup for running the app and the associated workflows. Have verified since getting the error that permissions for both IDs are still valid for the SharePoint site where the error appears. Again, these connection references worked in version 15 with no errors.
The difference between version 15 of the solution and version 16 of the solution is that the workflow I was working on was completed. In version 15 of the solution the workflow was only partially complete, it had a trigger that would activate when a record is updated or added to a particular SharePoint list. It also had a control element that would evaluate an environment variable value to see if it says "Prod" or not and if it evaluation result is "YES" it would follow that path to set some variables that would be used later in the flow for email addresses. At the end of the flow it was set to email me the values of the variables to verify the values were indeed set correctly. The solution was then tested by exporting it and importing it to our "Test" environment. The import process went as expected, the SharePoint site did not give an error and was able to be updated as were all the SharePoint lists associated with the solution. After a successful test of the app and the workflows the workflow in the Dev environment was then completed with all of the additional steps needed for our process. Workflow was tested in the Dev environment and after correcting some issues the workflow ran without error in the Dev environment.
The next import of the workflow the error mentioned above appears. The only thing in the solution that changed between solution exports was the workflow that was finished. The same Connection References in the partially completed workflow are still being used in the completed workflow.
Any guidance is appreciated.
We face the same error. Deployment worked for weeks and now the problem is occurring for unknown reason.
We had the problem yesterday while exporting/importing a managed solution from dev to stage.
For some reason today it is working again as expected. However the same error now pops up when importing the solution in the production environment.
Any ideas?
Zematsirhc,
It has been a while since this was posted. At the time the movement between environments was done manually, now we use a pipeline. While not a perfect way of doing it what I came up with was to manually create the connections in the new environment and add the user of the pipeline as an owner of the connection so when the pipeline executes it has enough permissions for the connection to work and the pipeline completes without error and activates. In my case the pipeline user is a service principal which has been given specific permissions needed to perform the export/import process.
I'm having the same issue. Did you ever find the answer?
Stay up to date on forum activity by subscribing.
stampcoin
52
DS-11051211-0
20
HumanOnly
6