cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dude150001
Frequent Visitor

Model Driven App Visual Studio Report Project

Has anyone been able to connect to the environment via a Visual Studio report project?

 

I have VS 2017 & Dynamics 365 Report Authoring extension installed.  I get the url from my model app (https://orgxxxxx.crm.dynamics.com/) but I can't connect.  I have assigned myself all security roles.  Perhaps I need to use a different connection string?

 

Error : You don't have permission to access any of the organizations in the Microsoft Dynamics CRM Online region that you specified. If you're not sure which region your organization resides in, choose "Don't know" for the CRM region and try again. Otherwise check with your CRM administrator.
Parameter name: NorthAmerica
Stack Trace : Not Provided

1 ACCEPTED SOLUTION

Accepted Solutions
dude150001
Frequent Visitor

I figured out the issue.

 

I was using my own credentials and I'm on MFA.  I tried with an account not on MFA, and had no issue.

 

It seems VS struggles with MFA authentication.  I can turn off 'advanced settings' and get the MFA prompt, but it just puts me into a sign in loop.

View solution in original post

3 REPLIES 3
DavidJennaway
Solution Supplier
Solution Supplier

Which region is the tenant in ? crm.dynamics.com only applies to North America (public, i.e. non-Government), so if you are in a different region you need the region-specific url - e.g. crm4.dynamics.com for EMEA. See https://www.xrmcoaches.com/2017/05/current-list-of-dynamics-crm-online-regions/ for the urls

alrez
Microsoft
Microsoft

Hi,

 

Please take a look at David's suggestion above, this simply appears that Visual Studio is trying to connect to a different region then you are located in. This should be able to be adjusted to the correct region.

 

Regards,

 

Alex

 

-------

 

Community Support Team _ Alex Rezac
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

dude150001
Frequent Visitor

I figured out the issue.

 

I was using my own credentials and I'm on MFA.  I tried with an account not on MFA, and had no issue.

 

It seems VS struggles with MFA authentication.  I can turn off 'advanced settings' and get the MFA prompt, but it just puts me into a sign in loop.

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Kudoed Authors
Users online (68,680)