Could you please provide more information about your issue:
How did you set the NTLM authentication? Did you get any error information after setting this?
Please also refer to this article to get more information: Outlook Anywhere Basic vs. NTLM Authentication explained
And the usage and parameter about using the command: Set-OutlookAnywhere