![How to export office 365 contacts online](https://cdn2.cdnme.se/5447227/9-3/screenshot_4_64e629479606ee5be4b9a969.jpg)
![how to export office 365 contacts online how to export office 365 contacts online](https://www.whipcord.com/hubfs/Sashas-blog/diagram365-2.png)
The user need read rights on the data (for CRM Online the user need a license). To create the FetchXML I used the website.
![how to export office 365 contacts online how to export office 365 contacts online](http://dptechgroup.com/wp-content/uploads/office-365-support/office-365-1-sign-in-for-profile.png)
$result = Get-CrmRecordsByFetch | Select -Property lastname, firstname, salutation, jobtitle, telephone1, telephone2, mobilephone,fax,emailaddress1,emailaddress2,address1_name,address1_line1,address1_line2,address1_line3,address1_postalcode, address1_city,address1_country, address2_name,address2_line1,address2_line2,address2_line3,address2_postalcode ,address2_city,address2_country, customertypecode,company_name,company_telephone1,company_telephone2,company_fax,company_url,company_emailaddress1, company_address1_line1,company_address1_line2,company_address1_line3, company_address1_postalcode,company_address1_city,company_address1_country | Export-Csv -Encoding UTF8 -Path C:\export.csv -Delimiter " " Browse the calendar file from your PC and click OK. On the Import/Export Wizard Box, select Import an iCalendar (.ics) or vCalendar file (.vcs) ,and then click Next. $conn = Get-CrmConnection -InteractiveMode Log in to your Outlook, click File, then navigate through Open & Export then, select Import/Export.
![How to export office 365 contacts online](https://cdn2.cdnme.se/5447227/9-3/screenshot_4_64e629479606ee5be4b9a969.jpg)