Skip to content

Commit e1ee292

Browse files
authored
Update app-only-auth-powershell-v2.md
1 parent c6eb1e7 commit e1ee292

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

exchange/docs-conceptual/app-only-auth-powershell-v2.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ description: "Learn about using the Exchange Online V2 module in scripts and oth
1919

2020
# App-only authentication in the EXO V2 module
2121

22+
**Note**:
23+
24+
This feature is currently in Public Preview, and is available in the Preview release of Exchange Online PowerShell V2 Module. To install the Preview release of the EXO V2 module, run the following command:
25+
26+
```powershell
27+
Install-Module -Name ExchangeOnlineManagement -RequiredVersion 2.0.3-Preview -AllowPrerelease
28+
```
29+
2230
Auditing and reporting scenarios in Exchange Online often involve scripts that run unattended. In most cases, these unattended scripts access Exchange Online PowerShell using Basic authentication (a username and password). Even when the connection to Exchange Online PowerShell uses Modern authentication, the credentials are stored in a local file or a secret vault that's access at run-time.
2331

2432
Because storing user credentials locally is not a safe practice, we're releasing this feature to support authentication for unattended scripts (automation) scenarios using AzureAD applications and self-signed certificates.
@@ -59,13 +67,6 @@ The following examples show how to use the Exchange Online PowerShell V2 module
5967
6068
The EXO V2 module uses the Active Directory Authentication Library to fetch an app-only token using the application Id, tenant Id & certificate thumbprint. The application object provisioned inside Azure AD has a Directory Role assigned to it, which is returned in the access token. Exchange Online configures the session RBAC using the directory role information that's available in the token.
6169
62-
## How to start using this feature ?
63-
Please note that this feature is currently in Public Preview and available in the Preview release of EXO PowerShell V2 Module. You need to use below strings to install the Preview version 2.0.3 which contains this feature -
64-
65-
```powershell
66-
Install-Module -Name ExchangeOnlineManagement -RequiredVersion 2.0.3-Preview -AllowPrerelease
67-
```
68-
6970
## Setup app-only authentication
7071
7172
An initial onboarding is required for authentication using application objects. Application and service principal are used interchangeably, but an application is like a class object while a service principal is like an instance of the class. You can learn more about this at [Application and service principal objects in Azure Active Directory](https://docs.microsoft.com/azure/active-directory/develop/app-objects-and-service-principals).

0 commit comments

Comments
 (0)