Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested answer

Security role by user

(4) ShareShare
ReportReport
Posted on by 2,234
Hi Experts,
 
Customer requirement is to create Security role based on user. How to achieve this. Is it possible by global address book.
 
Sales & Markting Form Report Sales Managers Salesmen Note
Workspaces          
Sales order processing and inquiry ü   ü ü  
Sales return processing ü   ü ü  
Customers          
All Customers ü   ü    
Recalculate credit limit ü   ü    
Relationships          
Contacts  
My Contacts ü     ü each salesmen should see only his contacts
All Contacts ü   ü   each sales mangers should see only contact under his salesmen
Prospects  
All prospects ü   ü   each sales mangers should see only prospects under his salesmen
My prospects ü     ü each salesmen should see only his prospects
Converted prospects ü   ü ü each salesmen should see only his prospects
Leads  
All leads ü   ü   each sales mangers should see only contact under his salesmen
My leads ü     ü each salesmen should see only his leads
Active leads ü   ü   each sales mangers should see only active leads under his salesmen
My active leads ü     ü each salesmen should see only his active leads
New leads ü   ü   each sales mangers should see only new leads under his salesmen
My new leads ü     ü each salesmen should see only his new leads
Opportunities  
All opportunities ü   ü   each sales mangers should see only opportunities under his salesmen
My opportunities ü     ü each salesmen should see only his opportunities
Active opportunities ü   ü   each sales mangers should see only active opportunities under his salesmen
My active opportunities ü     ü each salesmen should see only his active opportunities
New opportunities ü   ü   each sales mangers should see only new opportunities under his salesmen
Competitors          
My New opportunities       ü each salesmen should see only his new opportunities
 
Thanks,
Faiz
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    294,118 Super User 2025 Season 1 on at
    Security role by user
    Hi Faiz,
     
    As mentioned in my previous reply you should NOT have any model reference to the form adapter model. In case you did build the dynamicspedia objects in the original model before, you first need to remove fully the model from your environment before you can build the same objects in another model.
  • faiz7049 Profile Picture
    2,234 on at
    Security role by user
    Hi Andre,
     
    I have added reference package containing FormAdaptor to my model but still getting error.
     
     
    Thanks,
    Faiz
  • faiz7049 Profile Picture
    2,234 on at
    Security role by user
    Hi Andre,
     
    Yes, I moved dynamicspedia xpp object to my model SFA_Model and trying to build and synchronize. 
  • André Arnaud de Calavon Profile Picture
    294,118 Super User 2025 Season 1 on at
    Security role by user
    Hi Faiz,
     
    Please check the model references in your extension model. This should not have a reference to any model containing FormAdapter. The error message details also mentioned duplicate object names. Did you move the objects from one model to another model?
  • faiz7049 Profile Picture
    2,234 on at
    Security role by user
    Hi Andre,
     
    Getting error while building project.
     
     
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    294,118 Super User 2025 Season 1 on at
    Security role by user
    Hi Faiz,

    You can achieve this using the Global Address Book security by teams. A pre-requisite would be reading the blog I shared and download the shared XDS objects. You can create a team per salesman or group of salesmen. Then link an address book to a customer and the team.
     
    You can also consider another customization, including a custom XDS policy.
  • faiz7049 Profile Picture
    2,234 on at
    Security role by user
    Hi Andre,
     
    Ok, let me try to explain. Example: CustTable has field MainContactWorker. Which is used to identify, this customer belongs to which Salesman in our organization.
     
    I need Salesman can see only their customer records. As we know, D365FO user is link with person in System Administrator module.
     
    How can achieve this.
     
    Thanks,
    Faiz
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    294,118 Super User 2025 Season 1 on at
    Security role by user
    Hi Faiz,
     
    The exact requirement is not clear to me, but anyway, you will need to implement security policies which is part of the eXtensible Data Security (XDS) framework.
    You can read about XDS on my blog. Also Alex Meyer created some blogs. In case you need security based on Global Address Book records, you can also read this post: About reinstating global address book security in Dynamics 365 Finance and Operations - Dynamicspedia
     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,118 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans