I am having an issue when trying to use interactive login when I am trying to generate early bound entities using CrmSvcUtil. My company has nine different orgs set up and my single login is connected to all of them.
Examples: XXX365dev.company.org, XXX365test.company.org, XXX365prod.company.org, ZZZ365dev.company.org, ZZZ365test.company.org, ZZZ365prod.company.org
When I use interactive login it ignores my specified URL and generates only the entities in one of our domains that is just the premade entities. When I try to use it with out interactive login I get the Error : Unable to Login to Dynamics CRM error. How can I get the url section to work in the power shell prompt with interactive login? Or is there a way to point CrmSvcUtil before the login using something else?
This is my PowerShell Command
.//CrmSvcUtil.exe /url:https://XXX365dev.Copany.org/XRMServices/2011/Organization.svc /out:C://Users//XXXXXX//Source//Repos//XXXXX//XXXXX//NewEntities//XXX_XXXsubmissionform.cs /username:/XXXXX@XXXXXXX.org/ /password:/XXXXXXXXX/ /namespace:XXXXXXXX.XXX_XXXXsubmissionform /serviceContextName:XXXXEntites /entitynamesfilter:XXX_XXXXsubmissionform /interactivelogin:true