You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,20 @@ This provides the PSCommandService class which is a wrapper around [StatefulProc
26
26
27
27
This script simply exports a few useful pre-defined parameter sets (that one would pass to the constructor of StatefulProcessComamndProxy) for the initialization, destruction and auto-invalidation of "powershell" processes who connect to o365 and establish a remote PSSession that will be long lived. (and validate that the session is still legit)
28
28
29
+
#### Exchange authentication
30
+
31
+
`o365Utils.js` init command `getO365PSInitCommands` is using a deprecated authentication [method](https://techcommunity.microsoft.com/t5/exchange-team-blog/modern-auth-and-unattended-scripts-in-exchange-online-powershell/ba-p/1497387)
32
+
33
+
Mictosoft has added [Exchange Online PowerShell V2](https://techcommunity.microsoft.com/t5/exchange-team-blog/announcing-general-availability-of-the-exchange-online/ba-p/1436623) that supports cerificate based authentication.
34
+
35
+
Full setup is descibed [here](https://adamtheautomator.com/exchange-online-powershell-mfa/)
36
+
37
+
Three sets of init commands are availiable as of version `1.1.0`:
38
+
39
+
*`getO365PSInitCommands` - backward compatible old basic authentication
40
+
*`getO365PSKeyInitCommands` - new Exchange authentication with private key and password
41
+
*`getO365PSThumbprintInitCommands` - new Exchange authentication with the thumb print for the certificate
42
+
29
43
### <aname="usage"></a>Usage
30
44
31
45
1) Configure your o365 tenant with a user with the appropriate permissions to manage o365 via Powershell. [See this article to get going](https://bitsofinfo.wordpress.com/2015/01/06/configuring-powershell-for-azure-ad-and-o365-exchange-management/)
0 commit comments