Comments (13)
The app registered on Azure probably misses permission "Read directory data".
Please follow this link to register the app correctly
from entracp.
The app registered on Azure has the permission "Read directory data".
Do you have any ideas what else it could be ?
from entracp.
Do we need to enable Microsoft Graph ? and to give permissions to that service ?
from entracp.
Can you confirm that you did NOT grant "Read directory data" in delegated permissions?
For AzureCP to work you must grant only "Read directory data" under "Application permissions".
If you did otherwise and fix permissions afterwards, you need to wait for some time before you can check connection again in AzureCP, or you can register a new app set initially with the right permissions.
from entracp.
I granted Read directory data yesterday in application permissions and I did not grant anything in delegated permissions. This morning, I still have the issue unfortunately
from entracp.
Just in case, can you try to register a new application, grant only "Read directory data" under "Application permissions" and test if it works?
from entracp.
We created a new app but still the same error:
from entracp.
Do you have an idea what can cause that issue in the sharepoint logs when I click "test tenant connection" ? I followed exactly what was said in the documentation. I tried both the last release and beta 3 versions but I always have the same issue:
[AzureCP] Unexpected error while testing connectivity: System.Data.Services.Client.DataServiceQueryException: An error occurred while processing this request., Callstack:
at System.Data.Services.Client.QueryResult.EndExecuteQuery[TElement](Object source, String method, IAsyncResult asyncResult)
at System.Data.Services.Client.DataServiceRequest.EndExecute[TElement](Object source, DataServiceContext context, String method, IAsyncResult asyncResult)
at System.Data.Services.Client.DataServiceQuery1.EndExecute(IAsyncResult asyncResult) at Microsoft.Azure.ActiveDirectory.GraphClient.Extensions.DataServiceContextWrapper.<>c__DisplayClass4c
2.b__4a(IAsyncResult r)
at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func
2 endFunction, Action1 endAction, Task
1 promise, Boolean requiresSynchronization) --- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at Microsoft.Azure.ActiveDirectory.GraphClient.Extensions.DataServiceContextWrapper.<ExecuteAsync>d__4e
2.MoveNext()
from entracp.
Can you ignore this error, add the connection and test directly the people picker?
You can monitor AzureCP activity in SharePoint logs if you filter on Product/Area "AzureCP"
If people picker doesn't work, can you try to update AzureCP with the latest Beta, which you can download here?
from entracp.
from entracp.
Error message is "Insufficient privileges to complete the operation", which should be resolved by granting "Read directory data" only under "Application permissions" (and not to delegate permissions).
I cannot explain why you keep getting this error after setting permissions like described above...
from entracp.
Make sure you have actually granted the saved permissions in Azure Portal, by clicking the Grant Permissions button in the blade prior to the Enable Access blade. The portal is a bit confusing in that it first asks you to save permissions but you then also have to grant the saved permissions.
from entracp.
i had the same error, after reinstall the solution and grant permission in Azure Portal it works fine...
from entracp.
Related Issues (20)
- Deployment Status Question HOT 3
- EnsureUser fails in anonymous http context HOT 3
- Initializing settings without opening Central Admin HOT 7
- Token acquisition fails when connecting to azure us gov Entra HOT 23
- Issue with EntraCP in SharePoint 2016 - assembly error HOT 5
- Is ExcludeMemberUsers parameter still valid in EntraCP ? HOT 3
- Unable to map Firstname,lastname and email from Entra ID to SharePoint 2016 HOT 10
- Issue with certificates HOT 2
- Sharing failed: Couldn't resolve user HOT 4
- No users found in People Picker HOT 4
- Unable to setup Alerts in SharePoint 2016 HOT 4
- Restrict searchable users issue HOT 5
- User.ReadBasic.All Application Permission for App Registration? HOT 4
- Azure CP: Permissions are not effective while granted via Azure AD groups. Does work only in one WFE HOT 8
- An exception occurred in EntraCP claim provider when calling SPClaimProvider.FillHierarchy(): Thread was being aborted HOT 2
- Configuration of EntraCP "Yvand.EntraCP V25.0.20240503.33" HOT 7
- When installing AzureCP the step $config = [azurecp.AzureCPConfig]::GetConfiguration("AzureCPConfig") returns null HOT 5
- What syntax can be used for the UserFilter property in the AzureTenants objects HOT 3
- Site is not accessible from few Front end servers post EntraCP Installation HOT 10
- People Picker not working in Central Administration HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from entracp.