Skip to main content

KB4821 - Script to Identify/Resolve Orgs with Multiple Backup Applications

  • February 26, 2026
  • 6 comments
  • 138 views

Chris.Arceneaux
Forum|alt.badge.img+5

Per KB4821, each organization should use a single backup application per Microsoft term's of use and product documentation. This script automates the steps mentioned in the KB article by identifying organizations that are using multiple backup applications and, if desired, will limit each organization to a single backup application.

https://github.com/VeeamHub/powershell/tree/master/VB365-KB4821

Please note that additional backup applications are not deleted from Entra ID. They are simply removed from Veeam.

The output of the script let’s you see all organizations affected including backup application info and backup applications removed (if any):
 

 

6 comments

Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • February 26, 2026

Excellent!  This should be a great tool to help users to find multiple apps and get things addressed.  Thanks for sharing, Chris.


coolsport00
Forum|alt.badge.img+21
  • Veeam Legend
  • February 26, 2026

Great script Chris! No doubt this will benefit the Community.


HangTen416
Forum|alt.badge.img+11
  • Influencer
  • March 2, 2026

With the -Fix flag, Applications are removed. Thanks ​@Chris.Arceneaux !


fredcler
  • New Here
  • March 2, 2026

Great job with this script! One little question tho.

After running it in our staging environment, the script leaves 1 additional app untouched which is normal the way it’s written. Therefore, end result is the original backup app created when creating the organization, and the 1 additional app left behind. 

Q: Would it be safe then to remove the “skip 1” tag in the code and leave only the default app? like any other organizations currently running without additional Apps?

Q: If the remaining additional App is not removed, will MS see it as 2 backup Apps?

Thanks


kciolek
Forum|alt.badge.img+1
  • Influencer
  • March 2, 2026

Great script! Thanks for sharing, Chris! 


Chris.Arceneaux
Forum|alt.badge.img+5

Great job with this script! One little question tho.

After running it in our staging environment, the script leaves 1 additional app untouched which is normal the way it’s written. Therefore, end result is the original backup app created when creating the organization, and the 1 additional app left behind. 

Q: Would it be safe then to remove the “skip 1” tag in the code and leave only the default app? like any other organizations currently running without additional Apps?

Q: If the remaining additional App is not removed, will MS see it as 2 backup Apps?

Thanks

You are correct. I’ve now updated the script which will remove all auxiliary backup applications if the -Fix is applied.