(I apologize if this has already been addressed. I did search the forum for this info, but couldn’t find the answer.)
I have a DSC configuration that contains a script resource which pulls data from a database. I have configured Cred-SSP on the initiating server and the recipient server, and tested that I can create a remote session from the initiator to the recipient and then execute the script that accesses the database.
However, calling Start-DscConfiguration for the config with the script resource fails. My thought is that I may need to create a new CIM session for the server/node that’s receiving the dsc config and have that CIM session use CredSSP. However, I haven’t been able to create a new CIM session with CredSSP. I get:
New-CimSession : Failed to set destination option for transport.
Destination option: __MI_DESTINATIONOPTIONS_DESTINATION_CREDENTIALS
#1) Am I going about this the right way - trying to use a CredSSP CIM session to apply and test the DSC config?
#2) If so, what might I be missing when trying to create the CredSSP CIM session?