Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Issue using Interactive login w/ CRMSvcUtil when org has many domains

(0) ShareShare
ReportReport
Posted on by 5
 

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

  • Suggested answer
    Pradeep Rai Profile Picture
    Pradeep Rai 5,480 Super User 2024 Season 2 on at
    Issue using Interactive login w/ CRMSvcUtil when org has many domains
     
    Thank You,
    Pradeep Rai.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,791 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,488 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans