I've used the Ant Migration Tool previously, but only in an Org that allowed a username/password login. Now I'm trying to get it to work for deployment to an Org that uses single sign on, but I can't find anything about how to configure the build.properties file for this.

Does anyone know how to configure Single Sign On credentials / deployment?


  • 3
    The org doesn't have a regular account as a backup? – Mike Chale Jan 23 '13 at 18:01
  • I thought SSO was all or nothing. It makes sense you can designate accounts that are outside of it. Thanks, I need to read more. – Ray Jan 24 '13 at 15:06

There should be an account that accesses the org outside of their Single Sign On system. For instance, System Administrators really shouldn't be a part of a SSO system because if that system fails, no users can access Salesforce. Ideally, any deployments should also be done with an account like that.

| improve this answer | |
  • Great thanks. Looks like I need to read more about how SSO works. I thought it was all or nothing... – Ray Jan 24 '13 at 15:04

If you don't have username & password then you can use session id in build.properties.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.