Access Denied for custom user roles - permission-denied

I have created a new user role "Call center". When submit a order from admin section with user role "Call center" access, it showing "Access Denied" error.
I have follow your other reply but didn't understand, please provide step by step solution.

Related

Graph API - Getting "Insufficient privileges" while updating using Profile

We have an application in production environment, today we found an issue that while updating "othermails" attribute of user through graph api returns insufficient privilege error.It was working couple of days back.We are using client credential flow to get access token from azure.
While troubleshooting I find out that if directory role "Global administrator" is assigned to application admin user then application admin user can update othermails attribute. But couple of days back it was working fine without "Global administrator" role. We cannot give "Global administrator" directory role to all application admins, it was restriction imposed by our client.
Now, my question is why is working earlier and now not? Does Microsoft changes directory role definition or something?
Its seems you have encountered Insufficient privileges while updating user profile.
Does Microsoft changes directory role definition or something?
No Microsoft has not change any previous Role Definition so far.
In your case to Update user profile you need to have following permission to update user profile:
Note: Once you have above permission you could update user profile. You could also take a look here

SharePoint 2010 - central admin - cannot delete user profile

I am farm Admin of SharePoint 2010 environment. i am trying to delete some user profile from central admin but it is giving me "access denied" error.
This is what i am doing.
1. open central admin
2. go to application management then manage service application
3. select user profile service application. (note that i have given explicit permission to myself for this service by clicking 'administrators' and 'permissions' icon on the top of the page)
4. select Manage user profiles
4. search for specific profile and the delete. here i am getting access denied error.
can anyone tell me why i am getting access denied error.
Try to restart the User Profile Synchronization Service.
Or use PowerShell script to delete user profile.
$spSite=Get-SPSite "http://servername"
$ctx=[Microsoft.SharePoint.SPServiceContext]::GetContext($spSite)
$userName = "spUserToDelete";
$userProfileMgr = [Microsoft.Office.Server.UserProfiles.UserProfileManager, Microsoft.Office.Server.UserProfiles, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c]
$upm=New-Object $userProfileMgr($ctx)
$upm.RemoveUserProfile($userName)

SharePoint 2010 Check Permission shows "None" for Users added through AD Security Groups

I am using SharePoint 2010 and AD as well.
I have added some users in AD and then I add them to Group called "TestingUsers" in AD, this is group has Group scope Global and Group type Security, in Sharepoint this group holds only "Read" permission,
But when i add user through AD and check permission in SharePoint it shows "None" instead of showing "Read" and
moreover this the same user can log into site with credentials as well
pls help me ....
http://blogs.technet.com/b/yashgoel-msft/archive/2012/04/13/check-permissions-showing-quot-none-quot-for-users-added-through-ad-groups-in-sharepoint-2010.aspx
When you try to do checkpermissions for a user added on the
site through AD group you get “none” even though group has permissions on the
site and user also doesn’t have any issue in logging into the site. It’s just
that the check permission doesn’t work for the group and the user.
Resolution:
Take a ULS while doing check permissions and if you see the
following entry
04/02/2012
17:27:49.89 w3wp.exe
(0x169C) 0x0974 SharePoint
Foundation General 7fdb Unexpected AuthZInitializeContextFromSid
failed! ddd8bfd7-3a2d-4b94-8249-0e22f057a52f
This comes if the farm account doesn’t have permissions to
read the TGGAU attribute of the group or the user ID. To resolve this login to
your Active Directory
AD users
and groups àview
à check advance features
Right click on the SP farm account à member of à add à windows authorization
access control à
click ok

access denied when trying to enter reqacc.aspx page

I am trying to enter http://portal/test/_layouts/reqacc.aspx?type=web
But I getting an error message: "Access denied. You do not have permission to perform this action or access this resource."
I am site collection administrator on the site.
Can you help me?
Being a Site Collection Administrator does not matter. You need to enable Access Requests for the site.
To enable Access Requests manually, go to Site Actions > Site Settings > Users and Permissions > Site permissions, then click Manage Access Requests. Click the checkbox for Allow requests for access and set the email address.
To enable Access Requests programmatically, set the SPWeb.RequestAccessEmail property.

Forms/AD Authentication with Sharepoint

All,
I'm configuring Sharepoint to use forms authentication with LDAP/Active Directory. I'm new to Sharepoint, so if this is obvious, please point me in the right direction.
Whenever I attempt to log in with a bad account or password, I get the very friendly (and correct) error message,
The server could not sign you in. Make
sure your user name and password are
correct, and then try again.
... which implies that Sharepoint is able to communicate with AD. If I log in with a valid account, I get a page that says:
alt text http://img63.imageshack.us/img63/6053/sharepointerror.png
(I added the grey bar to cover up the login name)
Any suggestions? The account I'm logging in with is an administrator and has been granted full control in central administration.
Also, interesting note: If I click the "sign in as a different user" link, and attempt to sign in using with the same credentials I just used, the site just redirects back to the login page, with no error or status message. If I then manually enter the site url, it again shows the "Error: Access Denied" page. Argh.
Go to site action of the actual site and add user in the format of
:loginid
It should resolve and show it underlined then try login in back to application that should fix it.
Your AD connection is working fine just need to add to sharepoint users list
yourprovider:userid
Yourprovider name is the name you gave to the user provider in web config
And you can add this user from parent site that is windows protected and you have all
I suppose it's sharepoint site security issue.
I'm getting the same error when trying to enter Site Settings page with a user that has a lack of permissions.
If you have at least one user that can access the Site Settings page, I suggest you to go to Site Actions/Site Settings/Users and Permissions/People and grops then click New button and add a user from AD to an appropriate group, eg. Team Site Members.
You have made connection with Ad and its working fine. So that you got error, when you try to login with invalid user id.
But you have missed one step in above scenario.
You need to give the permission for all AD users in your SharePoint site. The better way is to create a user group in AD (it may already there) which included all the users and add this user group in your SharePoint site with read permission.

Resources