Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

Update Account whit TeamsLink

Posted on by 15

I want to mass-update my Accounts in CRM with a link to the Microsoft TEams team that belongs to the account. I tried different approaches for solving this, but I get stuck at:

"A validation error occurred.  The length of the 'ca_teamslink' attribute of the 'account' entity exceeded the maximum allowed length of '100'

I have tried both API and CDS via Power Automate

I supply the accountId and the WebUrl of the Team.

Body of the Power Automate flow looks like this:

{
  "_ownerid_type"""
}
I am quite new to CRM but rather old in regards to API access to applications and Logic Apps, please bear with my lack of experience.
For me it looks like all attributes that start with ca_ are linked to a different table. I have not been able to find any documentation on the ca_ properties, so that is purely on my lack of knowledge. Is that true or is the ca_ attributes nomination documented somewhere?
What will I have to add or change in the call to CDS in order to convince it to update the TeamsLink to the weburl of the team?
Is this at all possible and is that attribute supposed to be used for the weburl at all?
  • Axel B. Andersen Profile Picture
    Axel B. Andersen 15 on at
    RE: Update Account whit TeamsLink

    Thanks Andrew! That was spor on and answerd all my questions in one single line. Awesome!

  • Verified answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Update Account whit TeamsLink

    Hello,

    In order to fix your issue you should open maker portal (https://make.powerapps.com), choose proper organization, open account entity, navigate to fields and increase the length of ca_teamslink field. I don't know what length would work for you - I assume that 500 should be enough.

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans