Hello, Welcome to Microsoft Q&A!
how to avoid that
No, there is no way to avoid that. This capability is designed for packages that contains one or more full-trust apps. An app is full trust means its process runs with an integrity level of medium (see Mandatory Integrity Control). Normal desktop apps are full-trusted apps. If you package desktop apps like .exe or .msi into MSIX package, this capability is required. Then system needs this capability so that it could launch the desktop app.
More information about full-trust capability here: https://learn.microsoft.com/en-us/windows/uwp/packaging/app-capability-declarations#restricted-capability-list. You could search full-trust
inside the page and you could see the full-trust capability.
Thank you.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.