How to know the SPN needed name


How to get the SPN of any server

And how to know the Service needed name

Setspn

First, open the active directory administrative center

Continue reading

Advertisements

Display Exchange Online mailbox information with Office 365 PowerShell


Exchange online powershell
Microsoft online Exchange powershell
Microsoft online Exchange powershell

Display microsoft Exchange Online mailbox information with Office 365 PowerShell

Display Exchange Online mailbox information with Office 365 PowerShell

$UserCredential = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic –AllowRedirection
Import-PSSession $Session
Remove-PSSession $Session

Display Microsoft Exchange Online mailbox information with Office 365 PowerShell
Continue reading

How to restore SharePoint to another farm


How-To connect Content DB to a SharePoint
Web application
How to restore SharePoint to another farm

The scenario we will use is that we have a web application and we need to attach another Database to it

First copy the database the two files of the content

MDF and LDF files of the content

Copy them to the new farm

In addition, it will be better to disable the web application server

Then right click the databases and right click attach

Then add the MDF file

Then it will be attached with the following name

rollbackSnapshotTempGUID

Continue reading

Proxy group of connection

Proxy group of connection


SharePoint Application Proxy Group

SharePoint Application Proxy Group

Proxy group

is the relationship between web application and the service application connection (Proxy) or connection for a service application

service application connection

Sharepoint Service Application Proxy

It enables the web application to associate with just the application services needed

EX: my site web application doesn’t need to be associated with all service applications

By default, there is only one Application Proxy Group

Go to central admin

Then

To create new application Proxy Group

New-SPServiceApplicationProxyGroup -Name “new name of your proxy group”

In my case, I will create one for the Project server only

New-SPServiceApplicationProxyGroup –Name MSproj_Group

Before command



After command


Now assign service application connection (Proxy) to the Proxy group

Use the following command to get list of Proxies

You need the ID of the required service

Get-SPServiceApplicationProxy | FT -AutoSize -Property ID, DIs*


Add-SPServiceApplicationProxyGroupMember -Member

Alternatively, you can run the following command to get list of all services with project name

Get-SPServiceApplicationProxy | where { $_.Name -like “*projec*” }




Now it’s connected

I will assign another proxy the Usage and health data collection Proxy


Now it is connected


Project server on SharePoint 2016

Project server on SharePoint 2016


Creating Project server on SharePoint 2016

Enable the license

After enabling the server license

Enable-ProjectServerLicense -Key

https://profadmins.com/2017/03/05/project-server-installation/

create service and service proxy connection

Project Server Service Application

Create the service application and start the service

Make sure the proxy connection has been created if not review your topology

https://docs.com/officeitpro/4609/minrole-for-sharepoint-server-2016?c=ca4UTZ

Continue reading

What is the Sarbanes-Oxley Act and how does AD auditing help with compliance?


What is the Sarbanes-Oxley Act and how does AD auditing help with compliance?

The Sarbanes-Oxley Act of 2002, is one of the most consequential set of mandates involving business ethics, and applies to all publicly traded companies, including subsidiaries of foreign companies, in the US.

Continue reading

OneDrive for Business retention and deletion

OneDrive for Business retention and deletion


OneDrive for Business retention and deletion

Their OneDrive for Business will be preserved for 30 days. You’re the temporary owner of all documents saved to their OneDrive for Business.

Reason

When a OneDrive for Business site collection is scheduled for deletion, the default action is to transfer ownership of the site to the manager of the original work account or school account that is being deleted. For this to occur, the user profile Manager Property must be set for the original owner of the OneDrive for Business site. For more go to OneDrive retention

For this to occur, the user profile Manager Property and Access Delegation need to be set for the deleted user before deleting it. To do that, as a global admin or SharePoint admin, please follow the steps below: 
1. Go to the SharePoint admin center
2. Click User profiles > People > Manage User Profiles > Find the user account to deleted > Edit my profile > Manager > type the manager account into the box > Save and Close

Go to central admin

Then Edit my profile

Continue reading