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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Debug in Cloud Hosted environment

(0) ShareShare
ReportReport
Posted on by 4,131

Hi Experts,

Got a couple of question regarding debugging in cloud hosted environment:

When I tried to attach the process - there are multiple W3WP.exe processes, not sure which one I should use.

In the cloud hosted environment, I use company AAD account to access the URL, for example: qql23203aos.cloudax.dynamics.com. But when I access the VM, I use local admin account, is that okay?

Thanks,

I have the same question (0)
  • Martin Dráb Profile Picture
    237,965 Most Valuable Professional on at

    You normally shouldn't attach to IIS, because when Visual Studio is running IIS Express (iisexpress.exe) is used instead.

    Yes, you use a local account (as defined in LCS) to access the VM, but it's not related to users in F&O. There you need to use an AAD account registered as a user in F&O.

  • Yuji Profile Picture
    4,131 on at

    Thanks Martin,

    But I could not find IIS Express process even I chose for all users' process.

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    If you see many w3wp.exe processes, attach to the one that is running under NETWORK SERVICE (you can also just try all of them in a couple of minutes to find out yourself). If you see iisexpress.exe you should attach to that.

    And yes, the account that you use to access D365 doesn't have impact in the debugging user. 

  • Yuji Profile Picture
    4,131 on at

    Thanks Nikolaos, looks like because the cloud hosted environment is Demo topology, hence only W3WP.exe is available.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 503 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 434 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans