SharePoint Online: Update Content Type using PowerShell

October 14, 2018    , , ,
Requirement: Update content type settings in SharePoint Online using PowerShell How to Update Content Type Settings in SharePoint Online? To editing content type's general settings such as name, description, and group information, follow these steps: Navigate to the SharePoint Online site where the content type was created. Click on Settings >> Site Settings On the Site Settings page, Click on "Site Content Types" link under "Web Designer Galleries" section. On the Site Content Types page, click the name of the content type to be edited. On the edit page, click the "Name,Description, and Group" link in the Settings section. On the Content Type Settings page, You can update the Name, Description, and Group information as necessary.  Click OK button to save your changes. SharePoint Online: Update Content Type using PowerShell Lets update content type name, description and group using PowerShell #Load SharePoint CSOM Assemblies Ad
SharePoint Online: Update Content Type using PowerShell SharePoint Online: Update Content Type using PowerShell Reviewed by Salaudeen Rajack on October 14, 2018 Rating: 5

SharePoint Online: Allow Members to Edit Group Membership using PowerShell

October 12, 2018    , , , ,
Requirement: Configure SharePoint Online Group to manage membership by Group Members. How to Allow Members of the Group to Manage Group? Follow these steps to change the group settings of a group in SharePoint Online. Go to Site Settings >>  Click on "People and Groups" link Pick the group you want change the group settings from the left navigation. From the group page, Click on Settings >> Group Settings  in the toolbar. Under Group Settings, for "Who can edit the membership of the group?, set "Group Members" option. Click "OK" to save your changes. PowerShell to Update Group Settings to Allow Members to Manage Group: #Load SharePoint CSOM Assemblies Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll&quo
SharePoint Online: Allow Members to Edit Group Membership using PowerShell SharePoint Online: Allow Members to Edit Group Membership using PowerShell Reviewed by Salaudeen Rajack on October 12, 2018 Rating: 5

SharePoint Online: PowerShell to Check If User Exists

October 04, 2018    , , ,
Requirement: SharePoint Online PowerShell to check if user exists There are different cases where you may need to check if a user exists in the Office 365 tenant and here is my PowerShell scripts: Option 1: Check If User Exists in the Tenant using Azure AD Cmdlet We can use the Get-MsolUser cmdlet of Azure AD to check if a given user account is valid. Import-Module MSOnline #User Account Variable $UserAccount = "Salaudeen@crescent.com" Try { #Get Credentials to connect $Cred = Get-Credential #Connect to Azure AD Connect-MsolService -Credential $Cred #Function to check if a user account exists in the tenant Function Check-UserExists() { Param( [Parameter(Mandatory=$true)] [string]$UserID ) $User = Get-Msoluser -UserPrincipalName $UserID -Erroraction SilentlyContinue if ($User -ne $null) { Return $True } else { Return $False } } #Call t
SharePoint Online: PowerShell to Check If User Exists SharePoint Online: PowerShell to Check If User Exists Reviewed by Salaudeen Rajack on October 04, 2018 Rating: 5
Powered by Blogger.