Service Fabric Powershell with Target Roles

Hello,

We recently upgraded to use the Azure Deployment Targets for our Service Fabric Cluster. We have some scripts as well as a deployment that runs. The package deployment works fine, but the script is still asking for a server URL and such which I’m not sure how to give using the roles?

Thanks,
-Dan

Hi Dan,

Thanks for getting in touch.

Due to time constraints, we made the decision to not convert the SF script step to use the new targets, so this step works the same way it always has, where you have to specify the SF connection endpoint and security mode on the step itself.

However there’s no reason this SF script step can’t also take advantage of the new SF targets now (so you don’t need to duplicate all the details on the step). We’ve created a GitHub issue here that you can track to be notified when a fix is available.

For the time being, you’ll have to supply the SF connection URL etc. on the step itself. The role selection will not influence those values currently.

Cheers
Mark