Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

CRM Dynamics MS Flow config change

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

  • RE: CRM Dynamics MS Flow config change

    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"
    }
    }
    }
  • Suggested answer
    Kokulan Profile Picture
    Kokulan 18,048 on at
    RE: CRM Dynamics MS Flow config change

    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

  • RE: CRM Dynamics MS Flow config change

    You mean that?

    drive.google.com/open

  • Suggested answer
    Kokulan Profile Picture
    Kokulan 18,048 on at
    RE: CRM Dynamics MS Flow config change

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

    Its complaining its got text tttest instead of GUID

  • RE: CRM Dynamics MS Flow config change

    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
    Kokulan 18,048 on at
    RE: CRM Dynamics MS Flow config change

    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?

  • RE: CRM Dynamics MS Flow config change

    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
    Kokulan 18,048 on at
    RE: CRM Dynamics MS Flow config change

    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

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans