duplicated answer sorry
PowerAutomate and Outlook
Hi all,
pls is possible create powerautomate flow, which copy adress book to user outlook contacts ? I want add users to outlook . Reason is outlook contacts(GAL) to the mobile phone contacts....
thanx
3 answers
Sort by: Most helpful
-
-
Sedat SALMAN 13,825 Reputation points
2023-03-27T10:24:18.04+00:00 you can write a powershell and apply a workflow like this
powershell example - modify (exchange online )
# Open the Exchange Management Shell # Connect to your Exchange Server $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://<YourExchangeServerFQDN>/PowerShell/ # Import the session Import-PSSession $Session # Create a new Mail Contact New-MailContact -Name "John Doe" -ExternalEmailAddress "johndoe@example.com" -FirstName "John" -LastName "Doe" # Remove the session Remove-PSSession $Session# Connect to Exchange Online PowerShell Connect-ExchangeOnline # Create a new Mail Contact New-MailContact -Name "John Doe" -ExternalEmailAddress "johndoe@example.com" -FirstName "John" -LastName "Doe" # Disconnect from Exchange Online PowerShell Disconnect-ExchangeOnline
-
Marek G 171 Reputation points
2023-03-28T05:42:05.67+00:00 Hello,
thank you for your reply, but unfortunately in the script at first glance I do not see filling the user mailbox contacts from GAL. Unfortunately, mobile Outlook cannot display contacts in phone contacts other than in the user mailbox. Is there a powerautomate solution or just a script? Or a setup in Microsoft365 that would allow this? Thank you