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

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Calling MS CRM Web API from Portals as logged in user... Please Help Urgent

(0) ShareShare
ReportReport
Posted on by 50

Hi All,

Hi All I am implementing employee self service portal and calling ms crm web api from portals to perform crud operations. The code works fine but the issue is even though I am testing this as normal user the crud operations showing created on or modified on as system user not the user who Logged into portal

This is self service portal and I created contact for my self and gave access to table i want to perform crud operation. I also created new web role with authentication on and added this table to this new web role. I have associated the web role to my contact.

  when I call web api to create records it is showing created by as system user. I want to know how can we have this audit as CRM user. Please note that i am a CRM user and portal user too.

Thank you,

Ingu

I have the same question (0)
  • Suggested answer
    Manoj Mane Profile Picture
    1,020 on at
    RE: Calling MS CRM Web API from Portals as logged in user... Please Help Urgent

    Hi ingu

    Unfortunately, there is no setting in the Portal Management app that you can change or set to change the default owner of the record.
    The easiest way would be to use Workflow (if you need to change owner almost immediately) or to use Flow.

    Also, While performing the CRUD operation did you tried to set the Owner field with the current portal logged in user. 

    Thanks,
    Manoj.

    Please mark this as VERIFIED if it helps.

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daniyal Khaleel Profile Picture

Daniyal Khaleel 141

#2
DAnny3211 Profile Picture

DAnny3211 134

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 70 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans