You will need to write a small web service that translates between the Azure AD protocol and the Discourse SSO protocol.
That is doable and it doesn’t need to be a Discourse plugin, so you can use whatever technology you want and host it wherever works best for you.