sharepoint server subscription
19 TopicsSharePoint SE - Distributed cache service is not enabled in this deployment.
Hi everyone, I have been struggling for a few weeks now with a Distributed Cache issue in my SharePoint farm. The service configuration seems completely out of sync between my two Web Front Ends (WFEs). 1 Root Cause / History: Originally, the Distributed Cache was working perfectly. However, after a Windows Update, both of our original WFE servers broke completely (we couldn't repair them using DISM). Because of this, we built two brand new WFE servers to replace them. Crucially, because the old servers were broken, we performed the steps in this order: 1. We built and added the two new WFE servers to the farm first. 2. After adding the new ones, we removed the two broken ones using the Configuration Wizard, and subsequently deleted them from Central Administration since they were still showing up. Because the old servers were never gracefully decoupled from the Distributed Cache before they died and were removed, the internal Distributed Cache configuration in the SharePoint configuration database is now corrupted. 2 Environment & Farm Topology: • SharePoint Version: SharePoint Subscription Edition (SE) • OS: Windows Server 2025 • Database: SQL Server 2025 • Topology: 2 Web Application servers (App servers) and 2 brand new Web Front End servers (Server 1 and Server 2). • Note: All required Distributed Cache firewall ports (22233, 22234, 22235, 22236) are completely open on both servers. 3 The Current Symptoms on the New WFEs: • Server 1: The Windows Configuration Wizard runs and completes successfully. However, in Central Administration, the Distributed Cache service status for this server is stuck on "Error Stopping". • Server 2: Distributed Cache does not work at all. Running Get-SPCacheHost prompts for a HostName, indicating it cannot find the host in the cache configuration. • Cache Health Error: Running Get-SPCacheClusterHealth fails completely with: ErrorCode<ERRCAdmin040>:SubStatus<ES0001>:Failed to connect to hosts in the cluster • Health Analyzer Errors: 1. "Distributed cache service is not enabled in this deployment." 2. "Server role configuration isn't correct." (Specifically flagging Server 2). 4 What I Have Tried So Far: 1. Cleaned up old servers from Config: I exported the cache cluster config (Export-SPCacheClusterConfig), manually removed the two old, decommissioned servers from the XML file, and imported it back. 2. Repair via Central Admin: Tried to use the built-in repair and fix options in CA, but without success. 3. Attempted Fix from Microsoft Learn: I followed the steps outlined in this Microsoft Learn thread regarding a renamed server issue: [https://learn.microsoft.com/en-ie/answers/questions/5907941/distributed-cache-not-working-on-a-renamed-sharepo] 4. Forced Deletion on Server 2: Because Remove-SPDistributedCacheServiceInstance failed with a cacheHostInfo is null error, I used PowerShell to force-delete the service instance object on Server 2: PowerShell $instanceName = "SPDistributedCacheService Name=SPCache" $serviceInstance = Get-SPServiceInstance | ? { ($_.Service.ToString()) -eq $instanceName -and ($_.Server.Name) -eq "Server02" } $serviceInstance.Delete() 5. Re-adding Server 2: When I now try to re-add the instance on Server 2 using Add-SPDistributedCacheServiceInstance, it fails with: ErrorCode<HostAlreadyPresent>:SubStatus<ES0001>:Host name Server02 is already present in cluster configuration. 6. Configuration Wizard on Server 2: Running the SharePoint Configuration Wizard (PSConfig) on Server 2 fails with: An exception of type System.InvalidOperationException was thrown. Additional exception information: cacheHostInfo is null. 7. Farm Rejoin: I completely removed Server 2 from the SharePoint farm and added it back again. Unfortunately, this did not resolve the Distributed Cache mismatch. 5 Summary of the Problem: Server 1 is stuck on "Error Stopping" in CA. Server 2 is completely disconnected from the cache cluster (Failed to connect to hosts in the cluster). SharePoint throws HostAlreadyPresent when trying to add Server 2, but throws cacheHostInfo is null when trying to configure or remove it, while complaining that Server 2's role configuration is incorrect. Any help would be greatly appreciated!SharePoint Server Subscription Edition (on-prem) REST API call via oAuth
This is a SharePiont Server Subscription Edition on-prem farm. and Extrnal application needs to use data from SharePoint via REST api calls. Need to setup external application to use SharePoint data from REST api via oAuth. 1) What are the steps i need to follow? 2) can this be supported by SharePoint Only App authentication (https://learn.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly-azureacs) for SPSE on-prem? Any sample REST based API calls to get tokens and call SharePoint would be really helpful. 3) Is it possible to use Azure AD app in for the same? if so how to configure trust between Azure AD and SPSE on-prem farm?SharePoint Server Subscription Edition with Entra ID
Hi All, Hope the weekend is going good. I am hoping that someone has done this, but i thought i would ask. As you all know that project online has been announced as retiring in September 2026. I have been looking at a few options and one of that is Project Server Subscription Edition. A few points to note: Project server is an application that sits on the Sharepoint Subscription Server. From the documentation - it does say we can integrate with MS Entra with Open ID However, the conflicting point is that Sharepoint Services need Active Directory Services From the documentation it also says the SQL Server or Managed Instance also requires Domain controller. In our environment we have never had DCs or AD. We are totally dependent on Entra ID. Has anyone got any further information or done any experimentations around this? I just don't have all the links with me right now, but happy to post them. We really do want to avoid AADS (DCs) and Entra DDS. Thanks in Advance.WebDav on SharePoint Subscription Edition
Hi Community, I'm currently planning a migration from an old SharePoint 2016 On-Premises environment to M365, as well as moving some content to a new SharePoint Subscription Edition farm that will be operational for a few years. My question is: Does anyone have a confirmed, official source stating that WebDav is still supported as of now? Ideally, I'm looking for any official information regarding the future of its support. I understand that WebDav might not be the protocol of the future, but we still have some use cases that need to run for another year or so. Therefore, I want to ensure we can migrate these without concerns, or if we should start planning for alternatives. Thanks in advance for your help!OpenID Connect questions
Hi, I have successfully configured SharePoint SE to use OIDC with ADFS, but I have some questions regarding how it works. Does SharePoint use the authorization code to get an access/refresh token? It doesn't really need it, but I'd still like to know. If yes, is there a way to access that token from code somehow?Configuring SharePoint SE to trust third party OIDC authentication.
I am following this article to configure SharePoint SE to trust Login.gov OIDC 1.0 authentication. https://learn.microsoft.com/en-us/sharepoint/security-for-sharepoint-server/set-up-oidc-auth-in-sharepoint-server-with-msaad Following Step 3 to configure using metadata endpoint failed with the error: New-SPTrustedIdentityTokenIssuer : The security token service metadata document could not be parsed. Can SPSE work with third-party Idp other than Microsoft Entra ID to use metadata endpoint? The public key of login.gov will be rotated annually, so configuring it manually by hard coding the public key is not a viable solution.[SPSE] new-SPServiceApplicationPool does not create IIS Application Pool
Hello, I am running SPSE with 24-08 CU on a 2022 Windows server. Different scripted installations of service application fails at New-SPServiceApplicationPool. There is no error but the IIS application pool is not created even after waiting one night. I guess that the iis app pool is created by a timer job as it should be provisionned on all servers in the farm. In this case it is a single server farm. But when using the central admin to create a new service application with a new application pool, the iis app pool is created but the specified name is replace by a GUID is IIS. Is there a bug in the NEW-SPServiceApplicationPool commandlet ? Is there a way to attach an IIS App Pool to a SP Service Pool ? I can't find the GUID of the IIS AppPool Thanks for any suggestion to create a SP Service Pool with PowerShell Jean MarieSharepoint server 2013 mulfunction after restoring backups
Hi, We have recently restored the backups of our sharepoint server and it is not working now. We tried to clear the timer but it is not still not working. I have attached the splog here: https://drive.google.com/file/d/1MOXQaHoLaS9-En6OOl7mpEPwgFxNHRTD/view?usp=sharing Production server file (sp_production_log) Correlation ID: 13e9ffa0-fc22-802b-d40e-0682c4a4ce0f 31e9ffa0-2cb7-802b-d40e-05d3a26ebf21 Test server file (sp_test_log) Correlation ID: 8ba8ffa0-5c99-802b-d40e-021598531799 Appreciate If anyone know what is happeningSharePoint eDiscovery with integration w/ Microsoft Exchange (everything on-premise)
We have SharePoint and Exchange on-premise. Via SharePoint, our Legal team would like to perform searches across our file shares, custom document stores and emails in Microsoft Exchange. SharePoint is already crawling file shares and our various custom document shares. We don't currently have integration with Exchange. Legal wants to be able to search for content and then export the search results (i.e. files) to a file share on the network, which they'll use for discovery purposes. Does anyone have experience with SharePoint eDiscovery and integrating it with Microsoft Exchange? Does SharePoint eDiscovery support searching the contents of emails and attachments? And can we export those emails to a file share? I would really like some feedback from someone with experience implementing and using SharePoint eDiscovery with result sources similar to our use case.