The SharePoint Code
135 FOLLOWERS
Some SharePoint tips and tricks.
The SharePoint Code
4y ago
Ich weiß, ich schicke Ihnen einen Brief, um ihn Ihnen zu erklären ..read more
The SharePoint Code
4y ago
Last year I wrote an article about using the PnP Provisioning engine to add references to documents in the Template file generated.
A couple of days a friend on linked in asked me if it were possible to include also all the documents versions in the Template file generated. So though about it and came up with a solution.
Basically the idea is of course to get all the versions of the document then download them and inject their reference in the Template pnp provisioning file.
First you have to know that when you get a reference to a file with
$folder = Get-PnPFolder -RelativeUrl $folderUrl
For ..read more
The SharePoint Code
5y ago
I am sharing a small PowerShell script to create at glance Office 365 users in Azure AD and assign them the E3 developer license.
$license = New-Object -TypeName Microsoft.Open.AzureAD.Model.AssignedLicense
$licenses = New-Object -TypeName Microsoft.Open.AzureAD.Model.AssignedLicenses
$license.SkuId = (Get-AzureADSubscribedSku | Where-Object -Property SkuPartNumber -Value "DEVELOPERPACK" -EQ).SkuID
$licenses.AddLicenses = $license
$PasswordProfile=New-Object -TypeName Microsoft.Open.AzureAD.Model.PasswordProfile
$PasswordProfile.Password="YOUR_DEFAULT_PASSWORD"
Import-Csv .\users.csv | for ..read more