Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Convert GUID to String Using Power Automate

Posted on by 7

HI How do you convert a guid into a string? 

  • "123e4567-e89b-12d3-a456-426655440000" (hyphens in standard locations)
  • "123e4567e89b12d3a456426655440000" (no hyphens) 
concat(substring(variables('GUID String'),0,8)) > Right now this only comes with 4 numbers 
 
 
  • PabloCRP Profile Picture
    PabloCRP 1,086 on at
    RE: Convert GUID to String Using Power Automate

    Hi, thank you for asking.

    's response answered your question consider mark it as completed by  pressing "Yes" label

    Regards

  • NewCoder Profile Picture
    NewCoder 7 on at
    RE: Convert GUID to String Using Power Automate

    Worked thank you!! :)

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Convert GUID to String Using Power Automate

    Hi NewCoder,

    Please try this expression: replace(variables('GUID String'),'-','')

    I created a http trigger to test and it can work:

    pastedimage1632878732369v1.png

    Result:

    pastedimage1632878748136v2.png

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans