@MarcDJUWELISHumanCareAssociation-8566
Below are few suggestions that you can try to solved your issue:
If the app being published is not one of the office apps, you could use the W10 multisession image that doesn't include office.
If the RemoteApp is an office app but Teams is not required, Teams could be uninstalled from the image.
Try creating app masking with FSLogix for Teams and assigning to an empty group work? It's like disallowing teams for everyone in the session host (I have not tried this myself, you can try if it helps resolve your issue).
Hope this helps.
Please 'Accept as answer' if the provided information is helpful, so that it can help others in the community looking for help on similar topics.