Conditional access has some new cool features that will provide extra security for your user logins. In this post I will cover some of them. Will be digging deeper on these as they evolve but for now it’s important for…
Time to move from On-premises Hybrid to the cloud. What it takes and what could be the problems with the process? End of Life for On-premises versions Skype for Business 2015 mainstream end date was October 13, 2020. However, the…
This is part 2 of compliance and user governance. Here is part 1. Attack simulator is a tool for educating users and gathering insights on what they do wrong or right. Who can use it? If your organization has Microsoft…
So You have a mailbox that is filled with spam, phishing or whatever emails that You dont want. I have to say that Microsoft’s new command (new-compliancesearchaction) seems nice, but doesnt work. new-compliancesearch and then start-compliancesearch find messages, but thats…
When moving mailboxes to exchange online, you will probably get errors like this “A corrupted item was encountered: Unable to translate principals for folder” Some of these errors occur for a reason that all the users which have permissions to other user mailbox folders…
Using a ready script Get-Office365Endpoints.ps1 connect to https://endpoints.office.com. Filter that information with IPV4 and SMTP, then send it as txt-file thru Exchange Online using smtp.office365.com If the endpoint txt-file is found script is stopped. Also includes Aes-encryption for secure password storing….
Hi, Just a friendly reminder for all. If You have any kind of MS-Hybrid solution, You will always bind autodiscover, lyncdiscovery to Onpremises AD SCP. And then You have problems connecting to Cloud Based powershell instances. Well with this one…
Hi all, Public Folders and Hybrid mode. Not really a hybrid mode cause all mailboxes reside in the Cloud, also PF Mailboxes. First set Default PF for all mailboxes.
Get-Mailbox -ResultSize Unlimited -RecipientTypeDetails usermailbox | set-mailbox –defaultpublicfoldermailbox o365PFmailbox
When sending email from outside organization sender will get. 550…
Hi, When You migrate from a local fileshare, You will have a problem with recursive permissions from parent object. Here is script that can scan thru large library (5000+ items) and reset recursive permissions to them.
$ctx.Credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($Username, $AdminPassword)
## View XML
$qCommand = @"
<OrderBy><FieldRef Name='ID' Ascending='TRUE'/></OrderBy>
## Page Position
$position = $null
## All Items
$allItems = @()
$camlQuery = New-Object Microsoft.SharePoint.Client.CamlQuery
$camlQuery.ListItemCollectionPosition = $position
$camlQuery.ViewXml = $qCommand
## Executing the query
$currentCollection = $ll.GetItems($camlQuery)
## Getting the position of the previous page
$position = $currentCollection.ListItemCollectionPosition
# Adding current collection to the allItems collection
$allItems += $currentCollection
Write-Host "Collecting items. Current number of items: " $allItems.Count
while($position -ne $null)
Write-Host "Total number of items: " $allItems.Count
for($j=0;$j -lt $allItems.Count ;$j++)
Write-Host "Resetting permissions for " $allItems[$j]["Title"] ".." $allItems[$j]["FileRef"]
# Paths to SDK. Please verify location on your computer.
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"
#Enter the data
$AdminPassword=Read-Host -Prompt "Enter password" -AsSecureString
$ListTitle="library or list"
Restore-SPOListAllItemsInheritance -Username $username -Url $Url -AdminPassword $AdminPassword -ListTitle $ListTitle
Orginal source for…