sharepoint enterprise – application pools continue to shut down

I have a problem with the SharePoint server, I hope you can help me solve it.

here is my question

I have deployed SharePoint 2019 (on the Windows 2019 server) and SQL 2017 (on the Windows 2019 server),

Since I have deployed the environment, I have encountered this problem from time to time and have tried many solutions. The only solution that worked was the repair option in the SharePoint 2019 configuration.

Here are the symptoms:

SharePoint pool 80 and the central administration pool have been stopped.

The SharePoint Timer service stopped and I had a 1503 error when I tried to restart it.

I received a message when I opened the SharePoint management shell.
enter the description of the image here

NOTE: When I deployed the SharePoint server, I used a local administrator account instead of a sp-farm account.
can this problem establish a relationship between the account I've used or not at the deployment stage and how can I resolve it?

2013 – SharePoint permissions for the intranet site

I was wondering if anyone could help me choose the best way to implement SharePoint permissions for the site I'm working on. I use SharePoint Classic on Office365. This is an intranet site with various departments, which means that we will have unique permissions to almost every level or level subsystem. Here is an example of a site structure with the required permissions:

0-Home: Admins (Group AD); All employees (AD group)

1-Employees: Admins (AD group); All employees (AD group)

2-HR: Admins (AD group); Human Resources Managers (AD Group); HR employees (AD group); user name1 (user); adhocemployee1 (user)

3 managers: administrators (AD group); HR Managers (AD Group)

3 staff members: administrators (AD group); HR employees (AD group); All employees (AD group)

2-IT: Admins (AD group); IT employees (AD group)

1-Non-Employees: Admins (AD group); All employees (AD group) All non-employees (AD group)

where 0,1,2 and 3 are the different levels of sites, where 0 is the top level site and 3 is the level 3 subsite. Since the main permissions we will use are Play, Contribute, and Full Control, I plan to have 3 SharePoint groups each for each subsite. So 3 for employees, 3 for human resources, etc. I'm not sure that's the right approach. Would it be better to assign individual permissions to all AD users / groups instead of organizing them into groups? We will also have permissions at the library level assigned to AD users / groups because of the way in which people in our organization have access to them, which complicates the management task and makes it difficult to manage ad hoc requests for users. access to certain sub-users. sites / libraries.


My approach:

Permissions for the HR subsite
HR Administrators (Group) -> Full Control -> Users: Administrators (AD Group)

HR readers (group) -> Read -> users: human resources managers (AD group); HR employees (AD group)

HR Contributors (Group) -> Contribute -> Users: Human Resources Managers (AD Group); username1 (user)


The other approach I'm not inclined to do is:

HR Managers (AD Group) -> Contribute

username1 (user) -> read

HR Employees (AD Group) -> Read

Admins (AD Group) -> Full Control

adhocemployee1 (User) -> Read


Hopefully someone can tell me which approach is best for my scenario.

Thank you!

An error occurred while accessing the SharePoint site java.net.ProtocolException subsite: the server has been redirected too many times (20)

An error occurred while accessing the SharePoint site java.net.ProtocolException subsite: the server has been redirected too many times (20)

It works well when I try to load the subsite again with the same session.

It works for SharePoint on-premises 2010, but the problem only affects SharePoint on-premises 2013.

and there is only the problem to access the URL of the subsite http://schemas.microsoft.com/sharepoint/soap/GetAllSubWebCollection

Here is the error message:

(AxisFault): java.net.ProtocolException: The server has been redirected too many times (20)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (native method) at sun.reflect.NativeConstructorAccessorImpl.newInstance (unknown source)
to sun.reflect.DelegatingConstructorAccessorImpl.newInstance (Source Unknown) to java.lang.reflect.Constructor.newInstance (Source Unknown) to
sun.net.www.protocol.http.HttpURLConnection $ 6.run (Source unknown) at sun.net.protocol.http.HttpURLConnection $ 6.run (Source unknown) at java.security.AccessController.doPrivileged (Native Method) ) at sun.net.www.protocol.http.HttpURLConnection.getChainedException (Source unknown) on sun.net.protocol.http.HttpURLConnection.getInputStream (Source unknown)

list – Conditional formatting of SharePoint columns – Applying CSS classes to a date field with the help of a nested IF statement

My apologies, I am relatively new to SharePoint / JSON, so forgive me if I do not see the evidence. I would be extremely grateful if anyone could help.

I would like to apply conditional formatting to a date field using a nested IF statement.

IF the current field is blank, set the CSS class to & # 39; locked & # 39; However, if the current field is populated, run a second IF: If the current field is more than one year old today, set the CSS class to "blocked." However, if the current field is in the last year, set the CSS code. class to "good".

I ran the following, without success. No formatting is applied whatsoever.


{

  "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",

"elmType": "div",

"attributes": {

"class": "=if(toString(@currentField)=='', 'sp-field-severity--blocked', if((@currentField)+31104000000 < @now,'sp-field-severity--blocked', 'sp-field-severity--good'))"
  },

"txtContent": "@currentField"

}

HOWEVER, when I split the conditions in two, they work independently.

  1. = SI empty, blocked, good.
{
  "$schema": "https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json",
  "elmType": "div",
  "attributes": {
    "class": "=if(toString(@currentField)=='','sp-field-severity--blocked', 'sp-field-severity--good')"
  },
  "txtContent": "@currentField"
}
  1. = SI exceeds 1 year, blocked, good.
{
  "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
  "elmType": "div",
  "attributes": {
    "class": "=if(@currentField+31104000000 < @now, 'sp-field-severity--blocked', 'sp-field-severity--good')"
  },
  "txtContent": "@currentField"
}

My next step would be to add the icon of the corresponding CSS class in the field.

sharepoint online – The remote server returned an error: (401) unauthorized: when uploading the file to the document library using the application-based token authentication

I'm trying to download a document into the document library using the application-based token authentication in SharePoint Online.

I mentioned the following link to configure the application-based token and the token worked when I tried to read something on the site.

But when I try to download a file using the following code,

string file = @"Path Of the file";
System.IO.FileStream fs = new System.IO.FileStream(file, System.IO.FileMode.Open, System.IO.FileAccess.Read);
using (var ctx = new AuthenticationManager().GetAppOnlyAuthenticatedContext(siteUrl, "CLIENTID","CLIENTSECRET"))
{
    try
    {
        ctx.Load(ctx.Web, p => p.Title);
                     ctx.ExecuteQuery();
                        Console.WriteLine(ctx.Web.Title);
                     Microsoft.SharePoint.Client.File.SaveBinaryDirect(ctx, "RelativePathToDocumentLibrary" + "/test.docx", fs, false);
                }
                catch (Exception ex)
                {
                }
}

It gives me an error of

{"The remote server returned an error: (401) not allowed."}

Any suggestion or reference link is welcome.

sharepoint online – Can we prevent users from accessing Office 365 from certain IP addresses

we have a 365 office tenant and our team in India is actively using it for its daily activities. But now, we only want to allow users to access Office 365 from their desktop network. can we do it in Office 365.

When users connect from an IP address other than the company's network, access is simply blocked.

cumulative update – CU August SharePoint 2016

I have installed in our test farm and no problem found. But again, the practice is to apply Cu in a lower environment and then test it according to your functionality needs.

There is no harm in keeping the farm up to date.

Problem: a user reported the problem with "missing all custom managed properties from the Sort drop-down list in the Query Builder (Search Result Web Part)".
https://blog.stefan-gossner.com/2019/08/13/august-2019-cu-for-sharepoint-server-2016-is-available-for-download/

Again, tests are the key.

sharepoint online – Unable to retrieve the POSTMAN tenant ID

I'm trying to get the tenant's ID from POSTMAN by following Access Sharepoint with POSTMAN's help. I have followed the same steps and able to create the application, but I am unable to get the tenant's identifier. The answer I receive is:

-2147024891, System.UnauthorizedAccessException
Access denied. You are not authorized to perform this action or access this resource.

sharepoint online – The Spfx extension disappears from the page

I have created a spfx extension for my communication site, it works perfectly when the page is reloaded. When I click on the search bar of the page, it leads me to the search page and when I come back to my page, my extension is not available on the page.

An idea of ​​how we can solve that?

sharepoint online – Creating highlighted content columns

Our SharePoint tenant hosts several customer sites, all structured in more or less the same way and giving access to each customer site, which is assigned to themselves and the respective customer. Each site also contains a document library named Jobs, with a column labeled "Job Description", as well as a few others. Whenever a customer receives a job, he creates a folder in the Jobs library. detail the details in the columns.

In order to make sure this is done well, I've planned to use the Highlighted Content Web Part to import all new jobs being created to our entire tenant. . I currently have it set to List view, and in most cases it works and I can see Title, Modified, and Modified by the details of each item in the list being created or modified, but ideally, I'd like to get the column "Job Description" files here too? I know you can create a column in the highlighted content via JSON, but I did not know if that would also draw text into the column, or if I should use CAML or something else to do it. . Is it feasible and if so how?

Any help would be appreciated, thanks!