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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM Dynamics MS Flow config change

(0) ShareShare
ReportReport
Posted on by

Hello,

 

we want that:

 

if someone wants to create a company the flow is creating the sharpoint construction for the data and is going

to put it in the config of the company in CRM.

 

It is able to create the construction in the sharepoint directly.

 

It’s not able to change the config in the CRM.

 

How can we change the CRM config with the flow.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Kokulan Profile Picture
    18,054 on at

    Hi

    You can update CRM records using flow.

    Please see the examples in the links below

    www.inogic.com/.../microsoft-flow-perform-action-on-update-of-specific-field-in-dynamics-365-customer-engagement

  • Alexander Buecher Profile Picture
    on at

    Thanks for that but...

    we need to change the Config in CRM.

    Explain:

    in CRM is a Save point to Sharepoint if someone create a new Company in CRM we need a new folder strukture in Sharepoint.

    The Problem is the strukture which is create Automatikly from CRM is not greate see this one:

    baddaz.com/create-your-own-document-locations-in-dynamics-365-using-flow-9649ecaf3672

    bute the Problem is:

    we dont wnat to:

    Creating Libraries and Sites using the REST API.

    we wnat to make a flow without the REST API.

    Hope that information help to help me.

  • Suggested answer
    Kokulan Profile Picture
    18,054 on at

    Hi

    Yes you are right, it makes more sense use Flow for creating your own Document Location than using sharepoint REST API.

    Correct me if I am wrong, you are able to use Flow to create folder in Sharepoint but you are not able to created document location in CRM?

    What do you mean by changing the config in CRM sorry?

  • Alexander Buecher Profile Picture
    on at

    We use the task "Update a record" for CRM to set the "Record identifier" for the "Dokumenten Location"

    to The sharepoint.

    It crashed.

    Hope this information help you to help me.

    Thats what it said:

    BadRequest.

    Entity Name
    sharepointdocumentlocations
    Record identifier
    \Dokuemntenbib test\testfirmen\tttest
    item
    {
    "_servicetype_label": "SharePoint",
    "_locationtype_label": "",
    "_statecode_label": "",
    "_statuscode_label": "",
    "_parentsiteorlocation_type": ""
    }
    _servicetype_label
    OUTPUTS
    OUTPUTS
    Status code
    400
    Headers
    Key
    Value
    Pragma
    no-cache
    x-ms-request-id
    381a84cc-3f82-480e-a0f2-657b5f900cb8
    Strict-Transport-Security
    max-age=31536000; includeSubDomains
    X-Content-Type-Options
    nosniff
    X-Frame-Options
    DENY
    Timing-Allow-Origin
    *
    x-ms-apihub-cached-response
    true
    Cache-Control
    no-store, no-cache
    Date
    Mon, 11 Mar 2019 07:11:39 GMT
    Set-Cookie
    ARRAffinity=5d24b7c52b6317eefb93cc7821edf08dd8e5c0e5850185267632eacbe0938db9;Path=/;HttpOnly;Domain=dynamicscrmonline-ne.azconn-ne.p.azurewebsites.net
    X-AspNet-Version
    4.0.30319
    Content-Length
    255
    Content-Type
    application/json
    Expires
    -1
    Body

    {
    "status": 400,
    "message": "Invalid value: \\Dokuemntenbib test\\testfirmen\\tttest provided for item ID",
    "source": "dynamicscrmonline-ne.azconn-ne.p.azurewebsites.net",
    "debugInfo": "clientRequestId: 381a84cc-3f82-480e-a0f2-657b5f900cb8"
    }

    Greetings Alex

  • Suggested answer
    Kokulan Profile Picture
    18,054 on at

    Could you share the screenshot of the Flow action that does this?

    Its complaining its got text tttest instead of GUID

  • Alexander Buecher Profile Picture
    on at

    You mean that?

    drive.google.com/open

  • Suggested answer
    Kokulan Profile Picture
    18,054 on at

    Hi

    You should be using Create Record  not Update Record for this

    ScreenClip-_5B00_320_5D00_.png

    It should be Create Doc Loc

    ScreenClip-_5B00_320_5D00_.png

    baddaz.com/create-your-own-document-locations-in-dynamics-365-using-flow-9649ecaf3672

  • Alexander Buecher Profile Picture
    on at

    Hello,

    now it crashed with:

    BadGateway.

    Code 

    502
    {
    "error": {
    "code": 502,
    "source": "flow-apim-europe-001-northeurope-01.azure-apim.net",
    "clientRequestId": "c3a90cb1-d114-4018-8687-3911b3d69830",
    "message": "BadGateway",
    "innerError": {
    "status": 502,
    "message": "An unexpected error occurred.",
    "source": "*******sandbox.crm4.dynamics.com",
    "errors": [],
    "debugInfo": "clientRequestId: c3a90cb1-d114-4018-8687-3911b3d69830"
    }
    }
    }

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans