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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Delete unused global b...
Copilot Studio
Unanswered

Delete unused global bot variables?

(1) ShareShare
ReportReport
Posted on by 5

In the process of developing a bot, I will create bot variables through calling actions. Sometimes the topics that call these variables get deleted, but the bot variables that were created in the topics persist. My list of bot variables is becoming cluttered with dead bot variable names that I cannot alter or delete.

 

Is there a way to delete unused bot variables whose source topics no longer exist?

Categories:
I have the same question (0)
  • Kylesmith Profile Picture
    3 on at


    Hi @DylanS Had similar issue with redundant bot variables, With a stand along PVA in a Dataverse environment.

    These variables can be removed/ deleted at a solution level layer

    1. Accessing the make.powerapp.com, selecting the appropriate environment.
    2. Creating a new solution.
    3. Adding existing chatbot. This bring in all the chatbot sub components.
    4. Within this list of sub components you can filter type to contain "Bot Variables" this will show all variables including the redundant variables.
    5. These can either be removed or deleted. **I would triple check and check again before deleting from environment. 

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • BJ94 Profile Picture
    264 on at

    Hi @DylanS 

     

    You can check following link to solve your problem.

     

    https://powerusers.microsoft.com/t5/Building-Power-Apps/How-to-Delete-Unused-variables-when-its-not-showing-any-where-in/m-p/1922543

     

    -------------------------------------------------------------------------------------------

    Regards,

    Bharti

    Community Support Team _ Bharti
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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 Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 133

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 130 Super User 2026 Season 1

#3
chiaraalina Profile Picture

chiaraalina 36 Super User 2026 Season 1

Last 30 days Overall leaderboard