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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 255 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 205 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard