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

Community site session details

Session Id :
Copilot Studio - Topic Creation & Management
Suggested answer

Formula Deprecated

(0) ShareShare
ReportReport
Posted on by
I have a variable in my topic called "FileArray". The value of the variable is set to the following formula: JSON(System.Activity.ChannelData). I would use this variable to get things like the Base64 of a file (which I would then pass into PowerAutomate for processing); however, as of 7/15/25, the formula mentioned above is no longer giving me the data it used to...help
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    47,123 Super User 2025 Season 2 on at
    Formula Deprecated
     
    Now adays you need to use the Attachments property now the other is deprecated
     
     First(System.Activity.Attachments).Content
     First(System.Activity.Attachments).Name
     


    If these suggestions help resolve your issue, Please consider Marking the answer as such and also maybe a like.

    Thank you!
    Sincerely, Michael Gernaey
     
  • Suggested answer
    JV-31071357-0 Profile Picture
    4 on at
    Formula Deprecated
    I have found a solution to this issue.  From the file that is stored as the user response variable, you will build a record variable like below:
     
    {
        contentBytes: Topic.UsersFile,
        name: Topic.FileName
    }

    Then your power automate workflow will use an input argument of a file where you will pass in this record.  The content in the that argument in the power automate flow is the bytes of the file which you should be able to do whatever you were trying to do before.
  • JV-31071357-0 Profile Picture
    4 on at
    Formula Deprecated
    I also have this issue, has anyone been able to figure out a solution or work around to speed up my search? 
    @AB-15071604-0 @CU18070145-0 @CU16071044-2 @Ghosty @Michael E. Gernaey
  • CU18070145-0 Profile Picture
    4 on at
    Formula Deprecated
     
    Were you able to find a solution for this? Experiencing the same issue and I tried looking for other system variables and other variables to reproduce the output of System.Activity.ChannelData but to no avail. Help! :-( 
  • CU16071044-2 Profile Picture
    2 on at
    Formula Deprecated
     
    I am currently experiencing this issue as well when we submit attachments (PDF or images). I believe what @AB-15071604-0 meant was that the variable `System.Activity.ChannelData` doesn't contain OriginalAttachments anymore. This causes issues as we are unable to extract the contentUrl or contentType to obtain the actual content of the attachment.
     
    His screenshot will contain what one should expect to see, however, searching the variable `System.Activity.ChannelData` doesn't give us the same information as before. Refer to my screenshot to see the difference in the content of the channel data that was done on Microsoft Teams.
     
    Thank you for reading!

  • Ghosty Profile Picture
    2 on at
    Formula Deprecated
     
    I have the same problem.
     
    In my case i create a agent in teams using copilot studio and power automate to analyze documents; like 2 months ago. (And everything has been working well so far)
     
    Last day (July 15, 2025), my flow stopped working, and when I went to check what was going on, I noticed that the JSON(System.Activity.ChannelData) formula wasn't saving the data it used to (in my case, it's the downloadURL)
     
    This is the output of a parse json before stop working: 👇
     
    {
        "body": {
            "OriginalAttachments": [
                {
                    "content": {
                        "downloadUrl""https://***/download.aspx?UniqueId=***ApiVersion=2.0",
                        "fileType""pdf",
                        "uniqueId""***"
                    },
                    "contentType""application/vnd.microsoft.teams.file.download.info",
                    "contentUrl""https://***/***.pdf",
                    "name""***.pdf"
                },
                {
                    "content""<p>see this conditions</p>",
                    "contentType""text/html"
                }
            ],
            "tenant": {
                "id""******"
            }
        }
    }
     
    This is the output of a parse json after stop working: 👇
     
    {
        "body": {
            "tenant": {
                "id""***"
            }
        }
    }
     
    Someone can help?
  • Michael E. Gernaey Profile Picture
    47,123 Super User 2025 Season 2 on at
    Formula Deprecated
     
    I am not sure what the issue is. Just saying its not giving you X like before, isn't very clear.
     
    What is the picture supposed to represent? What part of that is wrong?
     
    You said something about deprecation, where is that error/message?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 468 Super User 2025 Season 2

#2
stampcoin Profile Picture

stampcoin 52 Super User 2025 Season 2

#3
trice602 Profile Picture

trice602 46 Super User 2025 Season 2

Featured topics