How to configure OIDC & SAML in Microsoft ?

Clarify concepts in SSO scenario and create a Microsoft application with SAML, allowing external users to log in.