Dear All,
I have tried to get user contact using Jquery but it throws error function.
Please help to fix it. below is my code
$(document).ready(function() {
$.ajax({
url: "https://outlook.office365.com/api/v1.0/users/xxx.xxxx@xyz.com",
type: "GET",
headers: { "ACCEPT": "application/json;odata=verbose" },
success: function(data){
},
error: function(){
alert("Failed to get data");
}
});
});
Thanks and Regards Jenkins