Sharepoint Wrkflow 2013 became doesn't work - sharepoint

The workflow suddenly stopped working on the site which had been operating for about a year ago.
With Office 365 Sharepoint,
The workflow was made by Sharepoint Designer and call HttpWebService to change authorities on list items.
I tried get the list item in Workflow 2013 on the test site as well, and it has stopped working the same way, so I am in trouble because I do not know the cause.
Massage is below.
Activity in progress
Retrying last request. Next attempt scheduled 2018/03/19 >13:18. Last request details: https: // 'site' / _ api / web / lists (guid >'GUID') / Items (242)? % 24 select = ID% 2 HTTP Unauthorized for CID
We grant the authority of the application with Full Control and activate "Use application privilege in workflow" in management of site function.
Even if it is not a solution, if there is a similar problem occurring, please share the information.

Please check if you have set valid header like this:

Sorry, It was an incident at the data center of Microsoft

Related

Microsoft Dynamics CRM 2011 help page requests itself

When I click on the help icon in my Microsoft Dynamics CRM 2011 installation, I get the following very weird result:
It appears as if the help page loads itself, and when I look at my requests through Fiddler, this is indeed what happens. If I go to the help page URL directly (without using the help icon), it works fine. Any idea what might cause this behavior?
This problem is caused by a misconfiguration of the CRM installation. To verify this, execute the following query on your Dynamics CRM database:
SELECT [HelpServerUrl]
FROM [MSCRM_CONFIG].[dbo].[ConfigSettings]
The value returned by this query will looks like this: https://<yourhostname>/help/default.aspx/ The help server URL thus includes the path to the /help/default.aspx page. However, if you click on the help icon, Dynamics CRM will append /help/default.aspx/ to the help server URL. This causes the weird, nesting behavior. It also explains why going directly to the help page does not exhibit this behavior.
The solution is simple: edit the [HelpServerUrl] value in the [ConfigSettings] table and remove the /help/default.aspx part. This will leave just the base server URL in the setting. The final step is to recycle the application pool of the website (as the server URL is cached) and everything works!

SharePoint Alternate Access Mapping error when indirectly using web services

SharePoint web site = http://myexample:3500
SharePoint tester (admin on domain, admin on SharePoint site collection) = IAmKyle
Alternate Access Mapping: I left it at the default which is http://myexample:3500 maps to itself, and the zone is "default".
My code was deployed as a farm solution and my .dll is in the GAC. I activated a feature on my site collection (url is above). What the code does is, when the user updates a SharePoint item, my code executes a LINQ query finding "related" items. Then the related items are updated. Here are the errors I get:
On Windows Event Logs:
Error loading and running event receiver [my receiver assembly]. Object reference not set to instance of an object.
On SharePoint ULS event logs:
Same error as I see in Windows Event logs. Also, I was getting errors about "alternate access mapping" not being configured for http://myexample:3500 but I'm not getting them anymore. Don't know why, I haven't changed anything.
On IIS logs
Getting some 401 responses for pages that I should be able to access. But, it only shows the tail end of the page in some cases e.g. "/mysite/mypage" so I'm unsure what the full URL is.
These errors are very confusing, my code 100% works on my test system. What network or sharepoint configurations should I be looking for? I'm assuming my code itself works fine considering that it does work on my test environment. Of course, I have more permissions on test since my username on test is the user who created the farm.
Thanks.
Do you get these errors when trying to activate the feature or when actually making a change to a list item?
Also, have you tried attaching the VS debugger to the process and having a look at what is going on?

custom reports rsProcessingaborted error

I have deployed CRM and installed the reporting extensions component successfully on the SSRS server with rollup2 (server and router match this) - I have separate servers for CRM , SQL and SSRS. The out the box reports work ok but the custom reports present an error "rsProcessingAborted" which to me sounds like permissions. I have read a number of articles relating to pepople with the same issue and have tried all possible fixes but still no joy.
SSRS runs under a svc_sqlserver acccount and this account has permissions in the DB
the datasources have all been created successfully and the custom reports are using the MSCRM_FetchDataSource which is configured with type Dynamics CRM Fetch and credentials supplied by the user running the report. The connection string says CustomerServicesCE which is the correct OrgsanisationID (as found within developer resources) - i have tried clearing this connection string, adding the server url, all possible combinations with no joy.
Within SSRS i cannot view the report, it says "cannot access the CRM datasource" - i read somewhere you need to enter the GUIDs systemuserid and organisationid as username and pwd but still no joy.
I tried amending one report to use the samedatasource as the out the box reports that work but still no joy which is the MSCRM_DataSource...................am i missing something?
These reports have come from another supplier - i don't mind how they are displayed (Fetch or otherwise) i just need them working!
interestingly i do get them working on my Development environment (after getting the same error) and to my eyes the setup looks identical!
thanks for any help
richard
the answer was to create an spn as
setspn -a http/crmservername domain\accountCRMrunsunderrIIS

Condition Based Notification - Sharepoint List

I have a list with lists of all the certificates being used in my project.
I want to setup a notification (email) if certification expires (or say a week before expiration).
I would like to know solutions with and without code deployment (feature).
There are quite a few different options (workflow/custom dev/3rd party and open source products) coverd in this post
SO - Dated reminders in SharePoint
calendars
One option is to create a SharePoint Designer Workflow (meets your requirements), check this one, scroll down until you find the part it deals with the "Pause Until Date" activity.
Look through the Information Management Policy Settings in your List Settings and see if you can use the content expiration to achieve this. You can trigger a workflow to run (e.g. one that sends a notification email) on an item based on a date field in your list.
So, for example, you can have it fire off an email on Created Date + 10 days to notify whomever of its pending expiration

Setting up a weekly digest in Sharepoint

I'm currently working on a MOSS 2007 site and i need to set up a "system" which will e-mail all the changes in all the lists and libraries in the site.
I'm new to the Sharepoint world, i wonder if it is possible.
P.S. I have no access to the Central Administration panel. (If it has anything to do with my purpose)
Thanks
You can write custom timer job to do this task.
You could do it in this way:
Create custom timer job feature, set timerjob schedule.
On FeatureActivated event add that timerjob to SharePoint and have a [Persisted] property like SiteUrl in timerjob, which you could pass in constructor to let timerjob determine with which site to work with.
Use SPWeb.SiteUsers to get all users in SharePoint.
Loop each user, open new SPSite impersonated as each user.
On SPSite.RootWeb (SPWeb) execute GetSiteData (read community comments for some great examples and explanation on how to use it). Use Query that queries items where Modified field has value greater than (follow link for important info to query correctly) what you want.
Generate html out of your data and SPUtility.SendMail.
There is a scheduled reminder job feature available. However it works only on 1 List scope. But you can download source code, open RmdJobDefinition class and just see how it works to assist you writing your own class.
Good luck.
I'm afraid you can only setup the alert on a list (or item) basis. In the list you go to Actions => Alerts => When to send alerts => Weekly. I didn't check the Central Admin since you don't have access in your scenario.

Resources