PowerAutomate and Outlook

Marek G 171 Reputation points
2023-03-27T09:23:54.8366667+00:00

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

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
39,087 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Sedat SALMAN 13,825 Reputation points
    2023-03-27T10:17:27.2266667+00:00

    duplicated answer sorry

    0 comments No comments

  2. 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
    
    
    

    User's image

    0 comments No comments

  3. 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


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.