o365 Publish to Organisation

Do you have something you want to publish to the entire organization instead of trying to install local on everyone and force or hunt down that everyone does that? Follow these few steps.

First, you need to login on o365 Admin portal as Global Administrator
Then go to Settings (might hide in the bottom to the left click “show more”)
Click on Add-ins in the new menu under Settings.

Pick what you want to deploy to everyone

Pick what you want to deploy

Then you pick who will receive it
You can pick everyone or a specific person or group, I recommend start small before you pick the entire organization, so you can discover if something goes wrong.

Pick who will receive the deployment

Save/publish your settings after that you do not need to do anymore.

Module MSOnline Powershell

So you want to use Powershell to do things in o365 MSOnline?

First of you need to import MSOnline

Import-Module Connect-MsolService

#Before it was
Import-Module MSOnline

Then after that, you can start using for example

get-msoluser -UserPrincipalName mailbox@technologynexus.onmicrosoft.com | select PasswordNeverExpires

And many other commands that come with the import of MSOnline

Don’t forget that you need to connect to Azure with PowerShell before you can start using the commands.

Manage admin roles o365

To manage Admin roles in o365 you need the first login on o365

Look up the user in office365
Pick the user, look at the roles, click on handle roles.
You can pick what the user should be an admin over.

Now you can pick if the user should be an admin over a specific part of o365 or maybe Global admin?

So now you know how to manage admin roles o365

O365 GDPR

Do you have a problem with GDPR in O365?
So someone wants all records of them should be removed from Microsoft Exchange or/and Sharepoint?

Importantly we do not take responsibility for using our guide, it might not be the same for you. As there are two different environments and Microsoft 0365 is constantly changing in its environment.

First, you need to be Exchange Administrator

Create a search on https://protection.office.com/
The “name you pick” for the search is very important, so you need to remember it. When the search is completed can take a while you can process. (if you are not sure how to visit Export PST File o365 follow that guide so reach start export then you can stop and go back here.

Now start the Microsoft Exchange Online Powershell Module to connect with PowerShell to your Exchange (if you are not sure how to visit Powershell Connect to office365)

#Then your run 
Connect-IPPSSession -UserPrincipalName Your@emailaccount.com -ConnectionUri https://ps.compliance.protection.outlook.com/PowerShell-LiveID -AzureADAuthorizationEndPointUri https://login.microsoftonline.com/common 

#With this commmand you get all comliance search
get-complianceSearch 


Now the next step is very important you can remember to want you named your search and you can find it in the list you got when you run
get-compliancesearch.


New-ComplianceSearchAction -SearchName "name you pick" -Purge -PurgeType softdelete

#PurgeType
#softdelete can be recovered
#harddelete can not be recovered


When that’s done you can run
get-compliancesearchaction

To see status how is it going, is it gone, deletion is done
I hope that will help you with your GDPR in O365 Problem.

If you want to read some about it.

https://docs.microsoft.com/1
https://docs.microsoft.com/2


Export PST File o365

Export PST File in Office 365

This is a one-time thing

  1. Open Internet Explorer or Edge
  2. Go to Settings in Internet Options à Security tab -> Trusted Sites à Sites -> Add https://protection.office.com

To do the export you have to be granted the correct permissions first.

Go to: Office 365 Admin center -> Security & Compliance -> Permissions – > eDiscovery Manager

Click edits by the label eDiscovery Manager and add yourself to the list.

Done

Now we can Start Export PST File

  1. Login on portal.office.com with your admin account *MOST BE INTERNET EXPLORER*
  2. Click on Admin à Admin center à Security & Compliance
  3. Search & Investigation à Content search
  4. Click on new  
  5. Click on Modify can find it down to the left
  • Click on choose user, groups, or teams

    Click on that again
  • Typ for the user you are looking for and click on the magnifying glass, and start your search

    Click on the user you want to pick and click on choose, after that click on done and then finally Save.

  • Now you click on Save & run

    Type what you want to call your search for.
    And then click on Save


  • Now you go back to the start of the Content search page
    you should see in the top after a short while (depending on how big mailbox it is).

    Check your search you will get a windows





  • Now it’s time to export the results

    Pick Export results, after that click on export if you don’t want to change anything.
    Done


  1. There will be a pop-up window but you can let it be as it is and just click Start export

    this will take while you will need to wait depending on the size of the mailbox.
    You can click on Download export result if you like to know the status


  2. When it’s done click on Download result
    * its first time it wants you to install software after that do.
    You might need to click on Download result again?

    You will get this

    In the first row, you copy the key from the window you were before that window popup.
    Pick where you want to download the export.

    Click start

    when it’s done click on close and you are done.

How to add email alias

Want to know how to add an email alias to existing email address

Good to know before editing and creating an email address
SMTP = Primary address and answering address
smtp = alias address to primary address


In o365 you can do it two ways to add email alias.
1. go http://admin.microsoft.com
Search for the user, and pick the user.
Account, Alias, handle email Alias

or

http://admin.microsoft.com
Go to Exchange
Search for the user, and pick the user
Pick Email address

Now you can add an email address.


And if you want to do this change in your AD if you use federation or on-prem solution.

First, you need to navigate to correct OU where the user you are looking for is located, you cant search for the user, you need to have access to
For many you will not see it if you search for the user, is a known bug in windows active directory.

After you have located the user and pick properties
You will have picked it.
Now search for in long list Attributes.

Dubble clicks on it and follows the rules for adding an email.

SMTP = Primary address and answering address
smtp = alias address to primary address

Powershell set Password Never Expires

So you want to set a password that never expires on a mailbox that is not federated with active directory (azure).

First, you need to connect to office365 with Powershell.

To check if a mailbox has password never expires

get-msoluser -UserPrincipalName mailbox@domain.com | select PasswordNeverExpires


To set password never expires on the mailbox

Set-MsolUser -UserPrincipalName mailbox@domain.com  -PasswordNeverExpires $true


and if you want to change it from never expires
do the last command but change $true to $false like this

Set-MsolUser -UserPrincipalName mailbox@domain.com  -PasswordNeverExpires $false

default settings for password will kick in

Get all information about the mailbox

Set-MsolUser -UserPrincipalName mailbox@domain.com  -PasswordNeverExpires $false