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: docs/authentication/authFlows/ropc.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,8 @@ author: Juan Garrido
6
6
7
7
The Microsoft identity platform supports the OAuth 2.0 Resource Owner Password Credentials (ROPC) grant, which allows an application to sign in the user by directly handling their password. In this flow, client identification (e.g. user's email address) and user's credentials is sent to the identity server, and then a token is received.
8
8
9
-
## Security Note
10
-
There are multiple scenarios in which ROPC is not supported, such as hybrid identity federation access (Azure AD and ADFS) or when conditional access policies are enabled. There are more secure and available recommended alternatives, such as [Interactive authentication](interactive.md) or [Service Principal](sp.md).
9
+
???+ Warning "Security Note"
10
+
There are multiple scenarios in which ROPC is not supported, such as hybrid identity federation access (Entra ID and ADFS) or when conditional access policies are enabled. There are more secure and available recommended alternatives, such as [Interactive authentication](interactive.md) or [Service Principal](sp.md).
Copy file name to clipboardExpand all lines: docs/authentication/limitations.md
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,15 +8,21 @@ Review the following sections to learn about current limitations of Monkey365 on
8
8
9
9
## SharePoint Online in PowerShell Core
10
10
11
-
Monkey365 is using the **SharePoint Online Management Shell** ClientId when Interactive authentication flow is used. In order to give support to .NET Core, developers must set the reply URI to **http://localhost**, because .NET Core does not have an integrated UI. Due to **SharePoint Online Management Shell** is not configured to use **http://localhost** in the reply URI, authentication methods such as [Interactive browser authentication](authFlows/interactive.md) or [Authentication with a username and password](authFlows/ropc.md) are not supported in SharePoint Online when Monkey365 is executed using PowerShell Core (PowerShell 6 or later and PowerShell in NIX environments). The following options are available to avoid authentication issues:
11
+
When using the Interactive authentication flow, Monkey365 relies on the **SharePoint Online Management Shell ClientId**. To support .NET Core, which lacks a built-in user interface, developers must configure the reply URI as `http://localhost`. However, since the SharePoint Online Management Shell is not set up to accept `http://localhost` as a reply URI, certain authentication methods like [Interactive browser authentication](authFlows/interactive.md) or [Authentication with a username and password](authFlows/ropc.md) are not compatible with SharePoint Online when Monkey365 is run via PowerShell Core (PowerShell 6+, including NIX environments).
12
12
13
-
### Change the authentication flow
13
+
To avoid authentication issues, consider the following alternatives:
14
14
15
-
*Change the authentication flow to [Device Code Authentication](authFlows/devicecode.md) or [Certificate-based Authentication](authFlows/sp.md).
15
+
*Switch Authentication Flow
16
16
17
-
* Execute Monkey365 using the PowerShell V5 Default version. <spanstyle="color:red">*Only valid on Windows environments*</span>
17
+
Use [Device Code Authentication](authFlows/devicecode.md) or [Certificate-based Authentication](authFlows/sp.md) instead of the Interactive flow.
18
18
19
-
* Use the `-ForceMSALDesktop` parameter will force PowerShell 6 and higher to load .NET MSAL libraries instead of .NET core versions. <spanstyle="color:red">*Only valid on Windows environments*</span>
19
+
* Run Monkey365 with PowerShell V5
20
+
21
+
This option is only applicable in Windows environments and allows compatibility with the default authentication setup.
22
+
23
+
* Use the `-ForceMSALDesktop` Parameter
24
+
25
+
This forces PowerShell 6 and above to load the .NET MSAL desktop libraries instead of the .NET Core versions. This workaround is also limited to Windows environments.
Service principals in Microsoft Entra serve as representations of applications within a specific tenant. They outline the application's capabilities, the resources it can interact with, and the users permitted to utilize it. When an application is registered in Microsoft Entra ID, a service principal is automatically generated, enabling secure authentication and resource access for the application.
14
+
15
+
To set up a service principal for use with Monkey365, you'll need to follow these steps:
16
+
17
+
* Register an Application in Microsoft Entra ID
18
+
* Create a Client Secret or Certificate
19
+
* Assign API Permissions
20
+
* Assign the required roles
21
+
22
+
Check the [Service Principal authentication section](sp_authentication/getting_started.md) for manual steps. Additionally, Monkey365 includes a [built-in utility](sp_authentication/automatic_setup.md) that streamlines the creation and configuration of Entra ID applications.
Monkey365 includes a built-in utility that streamlines the creation and configuration of Entra ID applications for the following Microsoft services:
8
+
9
+
* Microsoft Graph
10
+
* Microsoft Teams
11
+
* Exchange Online
12
+
* SharePoint Online
13
+
14
+
The utility automates the creation of an Entra ID application, configures permissions based on the selected services, and generates a certificate for authentication, which it then uploaded. It also assigns service-specific roles to the application. For instance, if SharePoint Online is chosen, the utility will grant the application the `SharePoint Online Administrator`role. If Exchange Online is chosen, the helper will grant the application the `Global Reader` role.
15
+
16
+
# Automatic Application Setup with Monkey365
17
+
18
+
## Running the Utility with Default Settings
19
+
20
+
To run the utility with default settings from the Monkey365 installation directory, use the following:
0 commit comments