A family of Microsoft word processing software products for creating web, email, and print documents.
Hi Kasper,
Thanks for posting in the community.
According to your description, the situation happens when using Office URI schemes. We would love to help you with your query, however, our team focuses on general queries. The situation you mentioned is related to Office development, you can go to Microsoft Q&A Community by using the Office Development tag, as there are also many experienced engineers and experts in the forums there.
Also, we welcome community members to share ideas about the situation if one has related experiences.
Sincerely,
George | Microsoft Community Moderator