Customer Engagement & Dynamics CRM Forum

Expand all | Collapse all

Is there a way to set the "modified by" to someone else using Power Automate?

  • 1.  Is there a way to set the "modified by" to someone else using Power Automate?

    GOLD CONTRIBUTOR
    Posted Dec 20, 2019 09:24 AM
    I have a Workflow that perfectly follows a series of checks to automatically assign opportunities. The workflow is owned by a system account. The "Modified by" is the system account. Notifications to the users are "[System Account] assigned you an opportunity."

    In building this same approach into a Power Automate flow (are these the right terms?), the modified by becomes my own username. Therefore, the email notification to the users becomes "Adam Posegate assigned you an opportunity."

    Is there a way to change the modified by to the system account name?

    ------------------------------
    Adam Posegate
    Fox Valley Technical College
    Appleton WI
    ------------------------------


  • 2.  RE: Is there a way to set the "modified by" to someone else using Power Automate?

    GOLD CONTRIBUTOR
    Posted Dec 23, 2019 10:06 AM
    Adam
    You can use a  Service Principal when creating your Flows. You can create a new application user that way you're not using your credentials to create and the Flows. Below is a link on how to create a Service Principal

    https://blog.davidyack.com/using-service-principal-with-cds-connector/

    ------------------------------
    Edrei Mpanduki
    Technical Analyst
    Scottsdale AZ
    ------------------------------



  • 3.  RE: Is there a way to set the "modified by" to someone else using Power Automate?

    GOLD CONTRIBUTOR
    Posted Jan 02, 2020 10:47 AM
    Thank you - I am working on this now.

    ------------------------------
    Adam Posegate
    Fox Valley Technical College
    Appleton WI
    ------------------------------



If you've found this thread useful, dive deeper into User Group community content by role