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 :
Finance | Project Operations, Human Resources, ...
Unanswered

Is current session coming from a 'real' user or an external system?

(1) ShareShare
ReportReport
Posted on by 46
We are implementing a Dynamics 365 Finance and Operations system, which interact with (several) both external systems and users (via the form).
We wonder if it's possible to recognize if a session is coming from a real user (who is using forms) or an external system, with a global function in Dynamics 365 Finance and Operations, a global function like for example curUserId(), but which is able to distinguish if a session is coming from a 'real' user and an external system for example a POS system, a warehouse system or an import/export (batch) task.
 
  • Martin Dráb Profile Picture
    240,922 Most Valuable Professional on at
    All code runs in a context of a user and there aren't any unreal users. For instance, you asked about batch tasks. If a user decides to run some logic in a batch rather than interactively, it doesn't mean that the batch doesn't run under his or her user account.
     
    Instead of the user type, you could look at the session type.
     
    Also, you may have integrations utilizing the mapping between an Entra ID and an F&O user ID. You may be looking for these user IDs.

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 August Top 10 Community Leaders

These are the community rock stars!

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

#1
Martin Dráb Profile Picture

Martin Dráb 555 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 484 Super User 2026 Season 2

#3
CU10121822-0 Profile Picture

CU10121822-0 378

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans