May 22 2023 01:15 AM
May 22 2023 01:15 AM
We have a user whose Office 365 mailbox shows full instead of In-Place archiving.
In-Place archiving is still more than 50%.
How to fix this
May 22 2023 01:36 AM
May 22 2023 01:46 AM
May 22 2023 01:51 AM
May 22 2023 01:56 AM
@yshahzad you need to connect to MS online first using PowerShell, here the steps:
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily.
May 22 2023 05:17 AM
I am not good at 365, so please assist me.
When I run "Install-Module MSOnline" the below msg appears
You are installing the modules from an untrusted repository. If you trust this repository, change its InstallationPolicy value by running the
Set-PSRepository cmdlet. Are you sure you want to install the modules from 'PSGallery'?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"):
I typed y
Then I run "$Msolcred = Get-credential", the below msg appears
cmdlet Get-Credential at command pipeline position 1
Supply values for the following parameters:
Then I entered my office365 Admin credentials
After that this command run properly "Connect-MsolService -Credential $MsolCred"
But when I run " Start-ManagedFolderAssistant -Identity "rizwan", it gives the below msg
Start-ManagedFolderAssistant: The term 'Start-ManagedFolderAssistant' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Start-ManagedFolderAssistant -Identity "rizwan"
+ CategoryInfo : ObjectNotFound: (Start-ManagedFolderAssistant:String) , CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
May 22 2023 05:21 AM - edited May 22 2023 05:23 AM
your credentials are for a global admin user ? please use the below instead
May 22 2023 05:24 AM
May 22 2023 05:32 AM
May 22 2023 05:36 AM
May 22 2023 05:40 AM
May 22 2023 05:42 AM
May 22 2023 05:45 AM
May 22 2023 06:38 AM
May 22 2023 05:36 PM
Supplement on In-Place Archiving in case you need this: