This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Created by : Clement Olivier | |
* Date : 05/14/2018 | |
*/ | |
using System.Net; | |
using Microsoft.ApplicationInsights; | |
using Microsoft.ApplicationInsights.DataContracts; | |
using Microsoft.ApplicationInsights.Extensibility; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Created by : Clement Olivier | |
* Date : 05/14/2018 | |
*/ | |
using Microsoft.ApplicationInsights; | |
using Microsoft.ApplicationInsights.DataContracts; | |
using Microsoft.ApplicationInsights.Extensibility; | |
using Newtonsoft.Json.Linq; | |
using System.Net; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// <copyright file="Plugin.cs" company=""> | |
// Copyright (c) 2014 All Rights Reserved | |
// </copyright> | |
// <author></author> | |
// <date>18/11/2014 17:48:14</date> | |
// <summary>Implements the Plugin Workflow Activity.</summary> | |
// <auto-generated> | |
// This code was generated by a tool. | |
// Runtime Version:4.0.30319.1 | |
// </auto-generated> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#script by Clément Olivier | |
#date : 22nd of March 2018 | |
#blog reference : https://stuffandtacos.azurewebsites.net/2018/04/22/synchronize-your-user-profile-pictures-from-azuread-to-crm-online-in-powershell/ | |
#Add-Crm-Sdk; | |
Import-Module -Name ".\Microsoft.Xrm.Data.Powershell" | |
# Preparing the needed informations to connect to AAD & CRM | |
$aadUser = "yourname@domain.com" | |
$aadPassword = ConvertTo-SecureString -String "YourStrongestPassword" -AsPlainText -Force |