Bug 55166 - [MS365] Powershell script may fail with Unexpected authentication failure, due to TLS
[MS365] Powershell script may fail with Unexpected authentication failure, du...
Status: NEW
Product: UCS
Classification: Unclassified
Component: Office 365
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: Mail maintainers
Mail maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-09-02 17:21 CEST by Erik Damrose
Modified: 2022-09-02 18:45 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Damrose univentionstaff 2022-09-02 17:21:59 CEST
On a windows VM the powershell commands/scripts fail during auth with for example:

Connect-MsolService : Authentication Error: Unexpected authentication failure

When forcing a specific TLS version before executing the command, the command succeeds. In powershell:

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Connect-MsolService

This may not be an issue with different .net versions