Office 365 bulk import users

ad export:

Get-ADUser -Filter ‘EmailAddress -like “*@domain.com”’ -Properties * | Select-Object -Property Name,DisplayName,Title,EmailAddress,GivenName,sn,Initials,StreetAddress,Office,City,State,PostalCode,Country,OfficePhone,Company,HomePhone,mobile,Department | Sort-Object -Property Name | export-csv .\UserPropertiesCSV.csv -encoding unicode

 

$users = Import-Csv .\users.txt -encoding unicode

$users | ForEach-Object {New-MsolUser -UserPrincipalName $_.EmailAddress -DisplayName $_.DisplayName }

Exchange 2010 Catch-all address

1. Download Catchall Agent (here)
2. Create dir and copy file to “C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\agents\catchall”
3. Edit config.xml

<config>
  <domain name="mydomain.com" address="catch-all@mydomain.com" />
</config>

4. run powershell script

install-transportagent -Name "CatchAll Agent" -TransportAgentFactory:CatchAll.CatchAllFactory -AssemblyPath:"C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\agents\catchall\CatchAllAgent.dll"

5. run powershell

get-TransportAgent

Get-TransportAgent
6. Change priority so that it is over “Recipient Filter Agent” (I use Priority 3)

set-transportagent "CatchAll Agent" -Priority:3

7. Enable transportagent

enable-transportagent “CatchAll Agent”

8. Create the mailbox catch-all@ address.

Now it should work from outside, you can test it with sending a email to nonexistenemail@mydomain.com
, it should then apper in catch-all mailbox

 

Work from inside your orginasition:

Get-AcceptedDomain | fl domainname, *type*

Set-AcceptedDomain ntd-offshore.com -DomainType InternalRelay

New-SendConnector -Name “Internal Relay” -Custom -AddressSpaces mydomain.com -SmartHosts mysmarthost.com -SourceTransportServers sbs.domain.local

 

 

Sourcelist:
http://chrismullen.co.uk/setup-a-catchall-transport-agent-on-exchange-20072010-servers/
http://catchallagent.codeplex.com/discussions/62204
http://exchangeserverpro.com/how-to-share-an-email-domain-between-two-mail-systems/

 

There was a problem sending the command to the program

https://answers.microsoft.com/en-us/msoffice/forum/all/word-2016-there-was-a-problem-sending-the-command/3be3d9fb-b58d-47f0-9d3c-cbd3317f8202

 

For the error message “There was a problem sending the command to the program”, use dr-mario-marx-senologe.de Windows Explorer to access the C:\Program Files\Microsoft Office\Office16 folder and right click on WINWORD.EXE then on Properties, go to the Compatibility tab and uncheck all the boxes.  It has also been reported that the problem can be overcome by editing the registry at HKEY_CLASSES_ROOT\Word.Document.12\shell\Open and deleting the ddeexec key.

The ddeexec can also be kardiologie-singen.de deleted from

HKEY_CLASSES_ROOT\Word.DocumentMacroEnabled.12\shell\Open.

That fix is described at …

http://www.dilloway.co.uk/there-was-a-problem-sending-the-command.html

Office365 outlook keep asking for password

Office365 outlook keep asking for leggieriosteopata.it password

 

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity]
"DisableADALatopWAMOverride"=dword:00000001

 

sources:https://community.spiceworks.com/topic/2025536-outlook-2016-365-keeps-asking-for-credentials?page=5 , https://support.microsoft.com/en-us/help/4025962/can-t-sign-in-after-update-to-office-2016-build-16-0-7967-on-windows-1

Microsoft Outlook cannot sign or encyrpt this message becauase you have no certfificates which can be used to send from your e-mail address

Microsoft Outlook cannot sign or encyrpt this message becauase you have no certfificates which can be used to send from your e-mail address wiki sirblackraven

Danish: Denne meddelelse kunne ikke signeres eller krypteres, fordi du ikke har et certifikat, som kan bruges til at sende fra din e-mail-adresse

Error message:

(Danish Error message)

 

FIX:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USERSoftwareMicrosoftOffice14.0OutlookSecurity]
"SupressNameChecks"=dword:00000001

 

Source: https://support.microsoft.com/en-us/help/276597/how-to-turn-off-e-mail-matching-for-certificates-in-outlook

disable Welcome to the 2007 Microsoft Office splashscreen when opening Microsoft picture manager

how to disable Welcome to the Camilla Camilla nudehausarzt-roethenbach.de 2007 Microsoft Office splashscreen when opening Microsoft picture manager

it can be disabled by setting the following registrykey

HKEY_CURRENT_USERSoftwareMicrosoftOffice12.0CommonGeneralShownOptIn"=dword:00000001

 

I have been converting the adm file to a admx file, to be able to disable the welcome splashscreen  via gpo

ADMX file: Office2007DisableSplashScreen

 

source: http://www.itninja.com/link/how-to-prevent-the-welcome-to-the-2007-microsoft-office-system-dialog-box-from-opening-when-a-2007-office-suite-is-started-for-the-first-time

Office 365 Azure AD Connect assigning .onmicrosoft.com to synced users

When Azure AD Connect it configure to sync ad account to Azure AD/Office 365 it assigns the login name as the AD UPN (as expected), but it won’t assign that same UPN as the default email address – instead it assign a @mydomain.onmicrosoft.com as the primary email address.

to correct this we can use the Synchronization rules editor, which is installed together with the Azure AD Connect (Download Link)

In Synchronization rules editor, switch the direction tabs to outbound rules.
select the rule called “Out to ADD – UserExchangeOnline”, click edit and accept the option to disable and clone the rule (this will create a rule called ““Out to ADD – UserExchangeOnline – Cloned” that can be modified.

Change the precedence to 50

go to transformations, and Scroll down till you find the “Target Attribute” of “ProxyAddresses”
Change the FlowType to “Expressions” and enter the following in the source:

"SMTP:" & [userPrincipalName]

Now resync the users and the primary email address should be changed

Sources: https://rscc.co.uk/solution-office-365-assigning-onmicrosoft-com-addresses-used-aad-connect/