Office365 – Onedrive4Business Storage Limits Report

February 25, 2019

Once in a while you may get an E-mail notification from SharePoint that a user has nearly reached the storage limits.

Which is set at 1 Terrbyte ?

In our case there was something weird going on… We had a user that reported a Mail Archive file (PST) of 278 Gb large ?

While the maximum size of a PST is 50 GB

After deleting it and removing it from the Recycle Bin, the problem was solved Smile

How to check the storage size on OneDrive4Business

Solution :

Go to the storman.aspx page :

https://YourTenant-my.sharepoint.com/personal/Account_Name_YourOrganization_com/_layouts/15/storman.aspx

image

Enjoy !

Advertisements

PowerShell Core – Connecting to O365 Exchange Online

July 3, 2018

Now that we have PowerShell running on Windows 10… let’s see if we can get use it to get access to O365 Exchange Online.

 

First you need to load the MSOnline Windows PowerShell  Modules in PowerShell Core.

This is done using these 3 Lines :

Install-Module WindowsPSModulePath -Force -Scope CurrentUser 
 
Add-WindowsPSModulePath

Import-Module MsOnline

 

image

If you don’t use the first 2 lines you will get an error. Because PS Core doesn’t have the MSOline Module available.

So we grab it from the Windows PowerShell.

 

let’s set the credentials

$UserCredential = Get-Credential

image

Next create the remote session to load the module

 

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

Import-PSSession $Session

image

 

Test it using some commands

image

Get-User

image

 

For Mac see here :

https://www.cgoosen.com/2017/03/connecting-to-exchange-online-with-remote-powershell-from-a-mac/

For the other O365 Services see here :

https://www.michev.info/Blog/Post/1954/powershell-core-and-office-365

Enjoy !


Powershell Error connecting to SharePoint Online using CSOM Assemblies

April 27, 2018

When using a Powershell Script to connect to SharePoint Online I got this error…

msoidcliL.dll : System.IO.FileNotFoundException – SharePointOnlineCredentials

image

Solution :

Update your SP client side Assemblies, which does not rely anymore on Msoidclil.dll

image

image

Once updated the error was gone Smile

Enjoy !