How to fix SharePoint designer workflow publishing issue? - sharepoint

I have created the list workflow and just printing the history log to print a test message. I am trying to publish the workflow using my account but it always returning me below warning error message.
You do not have permission to do this operation. Ask your site
administrator to change your permissions and then try again, or log on
with a user account that has this permission. To log on with a
different user account click OK.
I did below workaround but did not get work:
Checked the site permissions for my account, all permissions are working correctly. I have full control, design and contribute access.
Checked the permissions for SharePoint designer, this is working fine. I am Primary administrator from central admin.
Checked the application pool. This is working fine.
Reset the IIS.
Also restarted the server as well once.
Can any one please advise what is the exact issue here?

You could try to install the latest update for SharePoint Designer. Check if it works for you.
1.Install SPD SP1:https://support.microsoft.com/en-us/help/2817441/description-of-microsoft-sharepoint-designer-2013-service-pack-1-sp1
2.Then install the latest update: https://support.microsoft.com/en-us/help/3114721/august-2-2016-update-for-sharepoint-designer-2013-kb3114721

Related

Sharepoint online app installation error

I am working on SharePoint add-in. All works fine but few days ago I have got this kind of error/warning "Your tenant administrator has to approve this app." It happen when app deployed and you have to choose "Trust It" or "Cancel". Trust button is not active. Also I have tenant admin rights.
Here is a pace of AppManifest file.
<AppPermissionRequests AllowAppOnlyPolicy="true">
<AppPermissionRequest Scope="http://sharepoint/content/tenant" Right="FullControl" />
</AppPermissionRequests>
Maybe I need to set rights somewhere else to solve this problem?
Solution found, just tried and worked.
MS has recently made a change, which seems to have gone quietly. If you need any tenant level permission for your App only provider hosted app, you need to add permission in tenant admin site and not in any of the site collection
http://sharepointitis.blogspot.com.au/2016/09/app-only-policy-with-tenant-level.html
If working in Sharepoint Online, here are two solutions:
Reset the tenant level permissions in the SharePoint Online admin center. In other words, set the permissions at "https://[yourtenant]-admin.sharepoint.com/_layouts/15/appinv.aspx" by copying in the xml snippet that you provided in the question
Follow the instructions that are detailed in the attached in the following image which is a screenshot taken from Troubleshooting: App debug and installation issue in SharePoint Online

Workflow 2013 get data from user profile - System.UnauthorizedAccessException

I am trying to get data from
http://sp13/_api/SP.UserProfiles.PeopleManager/GetMyProperties
in my WF2013....But there is an authorization problem
{"error":{"code":"-2147024891, System.UnauthorizedAccessException","message":{"lang ......
If I test this link in web browser everything is OK and I can access data.... So I try to add almost all permissions to my WF service but still without any success....I am testing this in SharePoint 2013.
Please can some help me with this problem. Thank you
Check the add-in permissions AND the current user permissions. Both of them should be granted the permissions to perform the operation.

Project server WorkFlow, permission issues

I am developing a workflow using Project Server 2013 and sharepoint designer.
Everything works fine until I try to set the value of a project field. When I do I get a 401 error (before I'd got a 403 error but solved it granting elevated permissions).
I've tried everything (or I think I did):
configuring the stages (requiring check-in)
configuring the custom fields (field not controlled by workflow)
configuring the site collection features (grant workflows app permissions)
But nothing seems to work, I always get:
System.ApplicationException: HTTP 401 {"error":{"code":"-2147024891, System.UnauthorizedAccessException","message":{"lang":"en-US","value":"Access denied. You do not have permission to perform this action or access this resource."}}} {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["26"],"SPRequestGuid":["94133bac-d37e-4a3d-84c6-ed9c1db025b8"],"request-id":["94133bac-d37e-4a3d-84c6-ed9c1db025b8"],"X-FRAME-OPTIONS":
Any help would be greatly appreciated
The problem was that the admin account running the workflow did not have permissions to access some user groups.
By granting that all user could access to see the members of every group both problems were solved and elevated permissions weren't necessary anymore.
Hope this helps anyone.

Weird login issue with Sharepoint 2010 site

I am facing a weird authentication issue for an intranet sharepoint 2010 site.
When a user from site owner group tries to access the site by this URL,
http://machine name:1111/ a windows credential pops up, even if user provides correct login details, he is not able to log in. But when user tries to access this URL, http://machine name:1111/SitePages/Home.aspx he is able to login successfully.
The site uses classic authentication mode.
Please let me know, what could be the reason for such strange behaviour.
Regards
Naimish
Got it resolved now.
The physical directory should have 'Read' rights for Everyone. In my case, the folder 1111 has this rights removed. I have given the said rights and its working fine now.
Regards

Sharepoint Site Administration

I've got a SharePoint website running on my machine (which it shows me inside the Application Pool in the Inet Manager).
Now this website has a different user credentials specified under the Identity section (properties). Also when I view the w3wp.exe in the task manager it shows that the site is running as a different user.
The problem is that if I change the username and password of the existing user with mine, the site stops working.
How do I run it under my account credentials.
Please help. Thanks
If you want to change the account that runs the SharePoint application pool, you must make sure that the new account has the same permissions as the current one. That includes the correct database permissions. Otherwise the SharePoint Web Application stops working.
The behavior you are describing is normal. Whatever account you use to login to your SharePoint site, the application pool will still be using the account assigned to it.
Regards,
M

Resources