You need to contact the maintainers of local_o365. Looks like a bug with that plugin. (Try looking up that plugin in the plugins DB.)
Moodle office tool integrations
Error occurring when modifying courses' settings
Энэ мэтгэлцээн түгжигдсэн тул та цаашид хариулт өгөх боломжгүй