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

XDS for From and To Warehouse by Site in D365FO

(6) ShareShare
ReportReport
Posted on by 666

Hello Experts,

I am trying to implement a security policy using XDS in D365FO where data access should be restricted based on the site assigned to the user.

Scenario:

We have a custom requirement where users should only access on Invent Transfer SHIP and RECEIVE:

  • From Warehouse → Based on their site assignment when they are doing Shipping

  • To Warehouse → Based on their site assignment when they are doing Receiving

However, if we apply a single XDS policy using one query, it applies to both FromWarehouse and ToWarehouse, which causes issues. For example, a user allowed only for Site 1000 is unable to receive into Site 2000 even though they are only supposed to have restriction on “From WH”.

 

Questions:

  1. How can we apply different XDS behavior for From WH and To WH scenarios?
  2. Is it recommended to create two separate XDS policies and queries – one for shipping (From WH) and one for receiving (To WH)?
  3. Can we dynamically disable/enable the XDS policy depending on the menu item action (like Ship vs. Receive)?
  4. Are there any clean design approaches to avoid manually disabling XDS in every method using unchecked(Uncheck::XDS)?

 

Any guidance or recommended approach to handle this cleanly would be appreciated.

Thanks in advance!

I have the same question (0)
  • Saalim Ansari Profile Picture
    666 on at
    Did anyone face the same issue with XDS applying to both From and To warehouse? Any suggestions?
  • Sohaib Cheema Profile Picture
    49,438 User Group Leader on at
    Because your target table is same (whether it is From Warehouse or To Warehouse, both are Warehouses) and data saved in a single table. So if you will apply XDS on that table, it will filter on both ends. 
     
     
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    300,911 Super User 2025 Season 2 on at
    Hi Saleem,

    Can you update us about the status of your question? In case you still need help, please let me know. I'm now reviewing questions I missed during my vacation. 
    Note that I provided an example and talked about the challenges using transfer orders on my blog: Extensible Data Security examples - Secure by warehouse
     
    In case you still need help, can you provide some more background information like if the users are only performing the shipping or receiving activities. Or are they also able to maintain the transfer orders? Are there other features in the Dynamics 365 SCM application where they need to have a restricted warehouse list or should see all? Based on the answers, there can  be solution possible using XDS.

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 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 307 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans