By now, you may know the Microsoft Authenticator app used for multi factor authentication (MFA) to access your Microsoft Account (MSA), Corporate account (Azure AD/Office 365), or even your Facebook or Google account.
Well, you can now allow (or disallow – which is the default settings) other applications to capture the Authenticator screen, which include also the one-time code.
If you take screenshot for documentation for example, this settings (turn off by default) will block you to do it.
To allow other application to capture the screen, you need to go to the Settings menu and enable the Screen Capture option available under the Security section. Once done you need to restart the application.