web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM Connection String for Azure AD B2B Accounts

(0) ShareShare
ReportReport
Posted on by

Hi there,

we have a few environments where we are invited as users by Azure AD B2B connect (See [1] and [2]). We have no troubles to access the crm instances in the browser. However, we currently find no working connection string to connect to such an environment, without using a local user for the login. We more or less tried all combinations for the username (our local one or the invited user upn in form of username_localdomain#EXT#@customer.onmicrosoft.com).

Does anyone have a working example for this scenario or some other helpful hints? This article https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/xrm-tooling/use-connection-strings-xrm-tooling-connect does not contain any further helpful insights.

Regards,

Christoph

[1]: https://docs.microsoft.com/en-us/dynamics365/customer-engagement/admin/invite-users-azure-active-directory-b2b-collaboration
[
2]: https://community.dynamics.com/365/projectserviceautomation/b/daytodaydynamics365/archive/2018/02/12/inviting-guest-users-to-dynamics-365-with-azure-active-directory-b2b-collaboration 

*This post is locked for comments

  • PranavShroti Profile Picture
    4,510 on at

    just thinking out of the box....did you try a different user without special chars ('#')

  • Christoph Keller Profile Picture
    on at

    This is the actual UPN of the user. Connecting with a native user of this tenant is not an issue, but this is not the question. I need to connect with my invited user.

  • JayKay27 Profile Picture
    16 on at

    Hi there,

    I have the same issue. The guest users can access via Browser but not with a connection string (for example XrmToolBox).

    Regards,

    Julian

  • Suggested answer
    Christoph Keller Profile Picture
    on at

    Just received the confirmation. Guest user scenario (Azure AD B2B) is not supported by the SDK.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans