I need to detect when more than one Dynamics user account is being used
from the same physical device, and ideally count how many distinct users
are active on that device. The business reason is this is not permissible to login with more than one account in the same device.
Constraint:
All client machines sit behind a single shared public IP (corporate NAT),
so IP address alone cannot distinguish one device from another. User-agent
strings are also identical across users on the same OS/browser build, so
"IP + user agent" doesn't uniquely identify a device.
What I've considered:
- Custom X++ to read the client IP / user agent server-side. My
understanding is that X++ runs on the AOS and can't access the browser
client's IP or request headers in F&O cloud — is that correct?
- Microsoft Entra ID sign-in logs expose a Device ID (DeviceDetail.DeviceId)
that distinguishes machines even behind one shared IP. I'm considering
querying sign-in logs via Microsoft Graph, filtering by the F&O app ID,
and grouping by deviceId to count distinct users per device.
Questions:
1. Is the Entra sign-in-logs + Device ID approach the recommended path for
this, or is there a supported in-product (X++) mechanism I'm missing?
2. How reliably is Device ID populated for F&O browser sign-ins?
3. Has anyone built device-level concurrent-account detection for F&O, and
what did you use to surface it?
Thanks in advance.

Report
All responses (
Answers (