Dear MattyG6!
Welcome to the Microsoft Community.
I would like to help you immediately, but your question relates to the developers of MS365 and there are specialist forums and sections where they can provide you with more focused and professional advice.
So, it is more suitable for publishing on Microsoft Learn, more users post these issues there, you can click on "Ask a question", there are experts who can provide more professional solutions in that place.
Here's the link to the forum (Office Development - Microsoft Q&A)
https://free.blessedness.top/en-us/answers/tags/321/office-development
Where you can copy the question and post it directly to the appropriate forum and section (I've selected the correct forum and section for you).
Sincerely hope that your question will be dealt with appropriately after contact the correct department. Thank you for your understanding!
I wish you all the best.
Best regards,
Yang.Z - MSFT | Microsoft Community Support Specialist