Office 365




Windows Updates

Windows 10 November Update

Duplicate One Drive Icons

Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace  delete one drive data Dwords
 change DWORD to 0

Use mail flow rules to set the spam confidence level

Force Domain Take over 

Set-ExecutionPolicy RemoteSigned
Install-Module -Name MSOnline
connect-msolservice -credential $msolcred
new-msoldomain -name
get-msoldomainverificationdns -Domainname -Mode DnsTxtRecord
confirm-msoldomain -Domainname -ForceTakeover Forceget-msoldomain

Can not sign into office

Connect to exchange

Connect to Exchange Online PowerShell 

connect-ExchangeOnline -UserPrincipalName -ShowProgress $true


Stop Exchange server AutoDiscover

Get-ClientAccessServer | Set-ClientAccessServer -AutoDiscoverServiceInternalUri $null
$ServerName = "XXXXXX"
Set-ClientAccessServer -identity $ServerName -AutoDiscoverServiceInternalUri $null


Devices sign out

rundll32.exe keymgr.dll, KRShowKeyMgr

delete  HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity

Sign out of Teams Private account

Send you self a meeting request !  and you get the sign out page.

Office not Signing in


EnableADAL  0  dword
DisableADALatopWAMOverride 1 dword

Create Mailboxes local and on tenant


Outlook bypasses AutoDiscover and connects directly to Office 365

DWORD: ExcludeExplicitO365Endpoint
Value = 1

 Or Disable MAPI on office 365

Force AD Sync

Import-Module "C:\Program Files\Microsoft Azure AD Sync\Bin\ADSync\ADSync.psd1"

Start-ADSyncSyncCycle -PolicyType Delta

start-ADSyncSyncCycle -PolicyType Initial 


 Force Online Archiving

Start-ManagedFolderAssistant -Identity 

Get-Mailbox -RecipientTypeDetails UserMailbox -ResultSize unlimited | ForEach {Start-ManagedFolderAssistant $_.Identity}

Teams External Control

Connect-MicrosoftTeams -Credential $credential
Set-CsTeamsMeetingPolicy -AllowExternalParticipantGiveRequestControl $true

Force Domain Sync

 Import-Module "C:\Program Files\Microsoft Azure AD Sync\Bin\ADSync\ADSync.psd1"

 Start-ADSyncSyncCycle -PolicyType Delta

 Start-ADSyncSyncCycle -PolicyType Initial

regsvr32 /u adsiedit.dll

regsvr32 adsiedit.dll

Public Folders

get-mailbox ""| fl *default*

get-mailbox -resultsize unlimited | set-mailbox -defaultpublicfoldermailbox "pfstore" 

get-organizationConfig |Fl publicFoldersEnabled

Get-Mailbox "" | ft *eff*

get-CASMailbox "" |ft *public*

Set-CASMailbox "" -PublicFolderClientAccess $true

Get-Mailbox -PublicFolder | fl *hier*

get-mailbox -PublicFolder

 get-mailbox -PublicFolder |update-publicfoldermailbox -invokeSynchronizer -FullSync



Register ASDI Edit

   regsvr32 /u adsiedit.dll

   regsvr32 adsiedit.dll

Azure Latency Test

Azure Pricing Calculator

Add users to local administrators

net localgroup administrators /add "AzureAD\UserUpn"

Managing network drives with intune

Resource Calendars  

Get-CalendarProcessing -Identity | FL

 Set-CalendarProcessing -Identity -DeleteSubject $False -AddOrganizerToSubject $False


Set-MailboxFolderPermission -Identity "" -User default -AccessRights PublishingAuthor

Voip Telecom Teams

Set-CsPhoneNumberAssignment -Identity "email address" -PhoneNumber "+613Phone number" -PhoneNumberType DirectRouting
Grant-CsOnlineVoiceRoutingPolicy -Identity "Teams email address" -PolicyName "VC VoiceRoutingPolicy"
Grant-CsTenantDialPlan -Identity "email address" -policyname "Voip dial plan"

See all numbers

Get-CsOnlineUser | Where-Object  { $_.LineURI -notlike $null } | ft DisplayName,UserPrincipalName,LineURI

Computer Information Agency (