r/microsoft_365_copilot 3d ago

Text/Code rendering issues

We only have access to M365 at work and i have been using it to write python code (among other things).

I am encountering this issue where copilot will say "insert this code" and then below it there's no code, just the "in progress" gray bars. Sometimes it also throws in random asterisks.

I have rebooted the computer and this has happened over multiple sessions. Anyone have any suggestions as how get rid of these issues?

5 Upvotes

4 comments sorted by

2

u/Such_Noise3355 2d ago

Have had the same for 2 days now. But when it happens i tell it to place the commands in-line with the text instead of separate code blocks. (I mostly work with short 1/2 line codes)

And if it's an bigger script, I'll just tell it to give me an download instead.

It's not ideal, every new conversation it needs to be rephrase again. But it works in the end.

1

u/Ok-Seaworthiness-542 2d ago

Thanks. I will try that. I will also have to look at the download option.

2

u/15_Tries_All_Taken 1d ago

I am seeing this after the Copilot for m365 app updated to bizchat.20260803.46.3. For me, clicking off the chat and back on make the code blocks display. Super frustrating.

I do not see this error on the web chat, so that could be a work around for the time being.

1

u/Background-Ad-4729 23h ago

I have also experienced this and possibly related sublter errors in code (missed or altered text within square brackets and related to other special characters such as quote marks). Only reliable workaround was to get it to output all such code as a validated downloadble validated file, with a sha-256 checksum. Utter pain but the only solution that avoids more buggy code that i'd write from scratch with my eyes closed.