Advertisements
Feeds:
Posts
Comments

Azure AD Connect sync: Prevent accidental deletes

This topic describes the prevent accidental deletes (preventing accidental deletions) feature in Azure AD Connect.

f this was unexpected, then investigate and take corrective actions. To see which objects are about to be deleted, do the following:

  1. Start Synchronization Service from the Start Menu.
  2. Go to Connectors.
  3. Select the Connector with type Azure Active Directory.
  4. Under Actions to the right, select Search Connector Space.
  5. In the pop-up under Scope, select Disconnected Since and pick a time in the past. Click Search. This page provides a view of all objects about to be deleted. By clicking each item, you can get additional information about the object. You can also click Column Setting to add additional attributes to be visible in the grid.

    The following command:

    First run the following command just to make sure

Get-ADSyncExportDeletionThreshold | FT

Then disable it

Disable-ADSyncExportDeletionThreshold

Continue Reading »

Advertisements

Project server installation

Project Server 2016 runs as a service application under SharePoint Server 2016. It is included as part of the SharePoint Server 2016 Enterprise installation, though it is licensed separately

https://msdn.microsoft.com/en-us/library/ee662109(v=office.16).aspx

Project Server 2016 requires a license in order to operate, and you must enable Project Server 2016 by using your license key before you can create a Project Web App site.

(If you are not sure if Project Server 2016 has already been enabled, use the Get-ProjectServerLicense cmdlet to check.)

To activate Project Server 2016

First make sure that it’s not enabled

Open the SharePoint admin shell

Make sure to run as admin

Continue Reading »


Project server installation

Project Server 2016 runs as a service application under SharePoint Server 2016. It is included as part of the SharePoint Server 2016 Enterprise installation, though it is licensed separately

https://msdn.microsoft.com/en-us/library/ee662109(v=office.16).aspx

Project Server 2016 requires a license in order to operate, and you must enable Project Server 2016 by using your license key before you can create a Project Web App site.

(If you are not sure if Project Server 2016 has already been enabled, use the Get-ProjectServerLicense cmdlet to check.)

To activate Project Server 2016

First, make sure that it is not enabled

Open the SharePoint admin shell

Make sure to run as admin

Continue Reading »


SharePoint 2016 installation

Applies to: SharePoint Server 2016

SharePoint 2016
Server 2016
SQL 2016

Summary: Deployment articles for SharePoint Server 2016 on server 2016 and SQL server 2016 help you to install SharePoint 2016 prerequisites features and applications and configure SharePoint Server 2016

Mount the ISO file

Note: make sure to copy the mounted file and add them to another local location, cause will add some files

Make sure you are using administrator account on the server for installing

In my Example, I copied them to the D:

Note: Do not try to install any prerequisites by just double clicking and install it manually

First

Do the following before running the prerequisites to avoid any expected errors

https://profadmins.com/2013/12/24/sharepoint-2013-prerequisites-fails-with-msi-installer-error-code-1603-while-installing-appfabric-1-1/

 PSModulePath in the Environment Variables

You may have the following error

Appfabric installation failed because installer MSI returned with error code:1603

This is a generic MSI error message and does not give any indication about how to get the issue fixed. Uninstall or reinstalling only makes it worse.

The issue can be caused due to the following:

  1. The path to the PowerShell executable that is needed for the AppFabric installation is incorrect.
  2. In some scenarios, repeated uninstallation and re-installation does not fix the issue. This is because the installer does not remove the PSModulePath entry in Environment Variables during un-installation and the installation fails because the entry already exists.
  3. If you are trying to install all the prerequisites manually as the server does not have a connection to internet. 
    Note: Appfabric installation and configuration has to be done by the prerequisite installer ONLY and not in a stand-alone manner.

    You can implement any one of the two solutions listed below

  • Solution 1 
    Append the following path to PSModulePath entry in the environment variables –%SYSTEMROOT%\System32\WindowsPowerShell\v1.0 

  • Go to My Computer, right-click Properties
  • On the System’ page, click Advanced System Settings on the left-side pane.
  • If you receive a UAC prompt, click on Yes to launch the System Properties dialog box
  • From the Advanced tab, click Environment Variables
  • Within the System Variables section in the lower half, select PSModulePath and click on Edit(or double-click PSModulePath‘)
  • Append the following path to PSModulePath entry in the environment variables

%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\

Ensure that the PSModulePath entry looks like this:
C:\Windows\system32\WindowsPowerShell\v1.0\Modules\;c:\Program Files\AppFabric 1.1 for Windows Server\PowershellModules 

Second

ServerManagerCMD

Make sure to create another Servermanager copy and rename it ServerManagerCMD

Sometimes it looks for this file name not the Default one

Third

Install and copy prerequisites manually

Install the prerequisites manually from the following link I found it’s the best link

https://blogs.technet.microsoft.com/meamcs/2012/12/26/install-and-download-sharepoint-2013-prerequisites-offline-manually/

Then copy them all in the

.\Source\prerequisiteinstallerfiles

Just install the prerequisites file locally in the prerequisite folder

Run the prerequisiteinstaller

Trouble shooting

If you start the tool then you faced a problem like EX:

Sync framework run time error during the installation

You can make sure it is in the prerequisites folder

Then Run the following command

.\prerequisiteinstaller.exe /SYNC:D:\Source\prerequisiteinstallerfiles\Synchronization.msi

The following is the List of commands

https://technet.microsoft.com/en-us/library/cc262485%28v=office.16%29.aspx?f=255&MSPPError=-2147217396

Another Example for the App Fabric error

https://blogs.technet.microsoft.com/meamcs/2012/12/26/install-and-download-sharepoint-2013-prerequisites-offline-manually/

Windows Server App Fabric error

Now you have to download it manually

http://go.microsoft.com/fwlink/?LinkId=235496

(Note: don’t install WindowsServerAppFabricSetup_x64_6.1 this is not the correct version that

SharePoint installer seeks)

 Download it but do not install
it by yourself since it needs configuration, hence install all other

Prerequisites in this article (except this one) then let the prerequisite installer to install App Fabric

In addition, configure it manually for you by running the following command from command prompt:

prerequisiteInstaller.exe /appfabric:[Full AppFabric Installer path]


D: is the CD drive where SharePoint installer is placed

Solution 2

You can just download it and place it in the prerequisites file then it will go on and install it



Error after configuration Wizard

I am having the following after installing the Central admin

Loading this assembly would produce a different grant set from other instances

Continue Reading »


 

SharePoint

Error after configuration Wizard

I am having the following after installing the Central admin

 

Loading this assembly would produce a different grant set from other instances

I changed the following key as I found it in the following link

https://www.ca.com/us/services-support/ca-support/ca-support-online/knowledge-base-articles.TEC1445538.html

Configure the following registry settings using regedit.exe:

Solution

Change assembly load optimization

In key ‘HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework‘, create a new ‘DWORD (32-bit) Value’ named “LoaderOptimization” with a value 1 (either in decimal or hexadecimal as they are the same).

 

 

And here also

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework‘, create a new ‘DWORD (32-bit) Value’ named “LoaderOptimization” with a value 1 (either in decimal or hexadecimal as they are the same).

 

 

Note: restart the server

Now it’s working with me


Alert: Exchange Health Set

Alert: Exchange Health Set

Source: pcrs0119 – ActiveSync.Protocol

Path: pcrs0119.PGESCo.com;pcrs0119.PGESCo.com

Last modified by: System

Last modified time: 1/17/2017 8:28:50 AM Alert description: ActiveSync is failing on Mailbox server server name.

Incident start time: 1/17/2017 5:28:35 AM

 

Last failed result:

Failing Component – EAS

Failure Reason – Unknown Reason: QuotaExceeded

 

Exception: System.Net.WebException: Error occurred:

 

Invoke-MonitoringProbe -Identity:”ActiveSync.Protocol\ActiveSyncDeepTestProbe” -Server:servername | fl

  1. Open the Exchange Management Shell, and run the following command to retrieve the details of the health set that issued the alert:
  2. Get-ServerHealth <server name> | ?{$_.HealthSetName -eq "<health set name>"}
    

    For example, to retrieve the ActiveSync health set details about server1.contoso.com, run the following command:

    Get-ServerHealth server1.contoso.com | ?{$_.HealthSetName -eq "ActiveSync"}
    

  3. Review the command output to determine which monitor reported the error. The AlertValue value for the monitor that issued the alert will be Unhealthy.
  4. Rerun the associated probe for the monitor that’s in an unhealthy state. Refer to the table in the Explanation section to find the associated probe. To do this, run the following command:
  5. Invoke-MonitoringProbe <health set name>\<probe name> -Server <server name> | Format-List
    

    For example, assume that the failing monitor is ActiveSyncCTPMonitor. The probe associated with that monitor is ActiveSyncCTPProbe. To run this probe on server1.contoso.com, run the following command:

    Invoke-MonitoringProbe ActiveSync\ActiveSyncCTPProbe -Server server1.contoso.com | Format-List
    

  6. In the command output, review the “Result” section of the probe. If the value is succeeded, the issue was a transient error, and it no longer exists. Otherwise, refer to the recovery steps outlined in the following sections.

Table: https://technet.microsoft.com/en-us/library/ms.exch.scom.activesync(v=exchg.150).aspx#EXP

Troubleshooting ActiveSync Health Set

The command didn’t work and you have the failure message then

ActiveSyncDeepTestMonitor and ActiveSyncSelfTestMonitor Recovery Actions

This monitor alert is typically issued on Mailbox servers. To perform recovery actions, follow these steps:

  1. Start IIS Manager, and then connect to the server that is reporting the issue. Click Application Pools, and then recycle the ActiveSync application pool that’s named MSExchangeSyncAppPool.
  2. Rerun the associated probe as shown in step 2c in the Verifying the issue section.
  3. If the issue still exists, recycle the entire IIS service by using the IISReset utility.
  4. Rerun the associated probe as shown in step 2c in the Verifying the issue section.

Ref: https://technet.microsoft.com/en-us/library/ms.exch.scom.activesync(v=exchg.150).aspx

%d bloggers like this: