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 :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Cannot Connect to Dataverse to download D365 Finance assets using VS 2022 / 2026.

(0) ShareShare
ReportReport
Posted on by 26

 

I'm using VS 2022 / 2026 and installed Power Platform tools for 2022.

When trying to connect to Dataverse from Power Platform tools getting no error or not going forward.

 

 

Below are the options for Power platform tools

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    308,252 Super User 2026 Season 2 on at

    Hi @CU12101455-0,

    Can you tell us the version of Dynamics 365 F&O which you want to connect to? If this is 10.0.49, then install Visual Studio 2026 as this is required for this version. See: Platform updates for version 10.0.49 of finance and operations apps (July 2026) - Finance & Operations | Dynamics 365 | Microsoft Learn

    In case you have an older version, check if there is already a directory created for the version with incomplete downloads. If so, delete the version folder and try again.

     You can find the version folders in the next directory: C:\Users\{YOUR USER FOLDER}\AppData\Local\Microsoft\Dynamics365

  • Anthony Blake Profile Picture
    3,317 Super User 2026 Season 2 on at

    Hi @CU12101455-0 , is there a reason for checking the advanced check box, and using a username and password? You should be prompted to sign in to your Azure tenant just by selecting office 365 and unchecking sign-in as current user. Have you assigned the System admin role to the user in Power Platform?

  • Suggested answer
    Deepak Agarwal Profile Picture
    9,401 Super User 2026 Season 2 on at

    Hey @CU12101455-0 , regarding your second screenshot where you are entering environment url manually, this doent look normal, generally you got list of environment to select which you want to connect with. 

    Can you try with enable ‘Display list of available organisation’ and validate if you have access to respective environment, the environment should appear in list to select and login. 

  • Srinivas_3107 Profile Picture
    26 on at

    @André Arnaud de Cal... ,

     

    Even after using VS 2026, I'm getting same issue. I'm unable to authenticate. 

     

     

     

  • Srinivas_3107 Profile Picture
    26 on at

    @Deepak Agarwal ,

     

    If “Display list of available organizations” is enabled, I'm getting error.

     

    Source    : Not Provided
    Method    : Not Provided
    Date    : 13-10-2026
    Time    : 2.16.45 PM
    Error    : A Dataverse server name is required.
    Parameter name: CrmServerName
    Stack Trace    : Not Provided
    ======================================================================================================================

    Source    : mscorlib
    Method    : GetResultCore
    Date    : 13-10-2026
    Time    : 2.17.49 PM
    Error    : One or more errors occurred.
    Stack Trace    : at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
      at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.GetAuthorityFromTargetService(Uri targetServiceUrl, CrmLogEntry logSink)
      at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.ExecuteAuthenticateServiceProcess(Uri serviceUrl, ClientCredentials clientCredentials, X509Certificate2 userCert, UserIdentifier user, String clientId, Uri redirectUri, PromptBehavior promptBehavior, String tokenCachePath, Boolean isOnPrem, String authority, Uri& targetServiceUrl, AuthenticationContext& authContext, String& resource, UserIdentifier& userIdent, CrmLogEntry logSink, Boolean useDefaultCreds, SecureString clientSecret)
      at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.DiscoverGlobalOrganizations(Uri discoveryServiceUri, ClientCredentials clientCredentials, X509Certificate2 loginCertificate, UserIdentifier user, String clientId, Uri redirectUri, PromptBehavior promptBehavior, String tokenCachePath, Boolean isOnPrem, String authority, UserIdentifier& userOut, CrmLogEntry logSink, Boolean useGlobalDisco, Boolean useDefaultCreds)
      at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.DiscoverOrganizations(Uri discoveryServiceUri, ClientCredentials clientCredentials, UserIdentifier user, String clientId, Uri redirectUri, PromptBehavior promptBehavior, String tokenCachePath, Boolean isOnPrem, String authority, UserIdentifier& userOut, CrmLogEntry logSink, Boolean useGlobalDisco, Boolean useDefaultCreds)
      at Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.QueryOAuthDiscoveryServer(Uri discoServer, ClientCredentials liveCreds, UserIdentifier user, String clientId, Uri redirectUri, PromptBehavior promptBehavior, String tokenCachePath, Boolean useGlobalDisco)
      at Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.QueryOnlineServerList(ObservableCollection`1 svrs, OrganizationDetailCollection col, ClientCredentials liveCreds, Uri trimToDiscoveryUri, Uri globalDiscoUriToUse)
      at Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.FindCrmOnlineDiscoveryServer(ClientCredentials liveCreds)
      at Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.ValidateServerConnection(CrmOrgByServer selectedOrg)
    ======================================================================================================================
    Inner Exception Level 1    : 
    Source    : mscorlib
    Method    : Throw
    Date    : 13-10-2026
    Time    : 2.17.49 PM
    Error    : An error occurred while sending the request.
    Stack Trace    : at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Http.HttpClientWrapper.<GetResponseAsync>d__31.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationParameters.<CreateFromResourceUrlCommonAsync>d__15.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationParameters.<CreateFromResourceUrlAsync>d__12.MoveNext()
    ======================================================================================================================
    Inner Exception Level 2    : 
    Source    : System
    Method    : EndGetResponse
    Date    : 13-10-2026
    Time    : 2.17.49 PM
    Error    : The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
    Stack Trace    : at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
      at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
    ======================================================================================================================
    Inner Exception Level 3    : 
    Source    : System
    Method    : EndWrite
    Date    : 13-10-2026
    Time    : 2.17.49 PM
    Error    : The remote certificate is invalid according to the validation procedure.
    Stack Trace    : at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)
      at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)
    ======================================================================================================================

     

  • Anthony Blake Profile Picture
    3,317 Super User 2026 Season 2 on at

    @Srinivas_3107 I've seen issues like this before. Try restarting Visual Studio, and signing into the admin centre or environment using the default browser on the machine you are running visual studio on. I don't remember there being any specific set of steps which fixed it, after trying a few different options the sign in and environment selection popped up. Are you signed into Visual Studio as a different account to the one you will use for Power Platform? I assumed this is what was causing my problem, but it did resolve without it being obvious as to why.

  • Srinivas_3107 Profile Picture
    26 on at

    @Anthony Blake I'm login to admin portal using my login details only as I've provisioned the dev environment. I'm able to login to admin portal and environment with my credentials.

  • André Arnaud de Calavon Profile Picture
    308,252 Super User 2026 Season 2 on at

    @Srinivas_3107,

     

     

    I usually log in having the Office365 option selected, Sign in as current user disabled, and Display the list of organizations enabled. 
    This should prompt you with a login form first. Then you might get the URL popup. You can leave that empty. Then you get a list of the environments to connect to.

     

    What type of device are you using? If you have an ARM based CPU, then the VS tools for F&O are not supported at this moment in time.

  • Anthony Blake Profile Picture
    3,317 Super User 2026 Season 2 on at

    @Srinivas_3107  at what point do the process stop? Can you view the output window in visual studio, is there any error information? It should be going through quite a long process of downloading the tools unzipping and installing them, and restoring the cross reference database. If anything went wrong, the errors will potentially be in this output window. Change the output option to FinOps Cloud Runtime:

    Download assets progress 1 in VS

    Take a look here: https://anthonyblake.github.io/d365/finance/xpp/2025/08/16/d365-xpp-cofigure-unified-dev.html

     

  • Srinivas_3107 Profile Picture
    26 on at

    @Anthony Blake 
    I cannot find any kind of logs when I try to login.

    The output log is empty.

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

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 77 Super User 2026 Season 2

#2
Travis South Profile Picture

Travis South 59

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 41 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans