Questions tagged [microsoft-graph]

Microsoft Graph exposes multiple APIs from Microsoft cloud services through a single REST API endpoint (https://graph.microsoft.com).

0
votes
0answers
7 views

What MSGraph API can I use to get Skype calls detailed data?

I'm trying to find a way to get Skype for Business calls information with the Microsoft Graph API. I've been asked to build a report using this API, but the report needs to include the call duration ...
0
votes
0answers
7 views

Is there a way to retrieve an attachment from a Sharepoint list via Microsoft Graph?

I have a Sharepoint list that contains a column for an attachment, which is an image file. When retrieving information on the list item that has an attachment, it has a field attachment: true However,...
0
votes
0answers
12 views

How to use new microsoft graph api to log users in to yii site

I'm creating a site that needs an oauth authorization through microsoft. In yii/authclient there's only live client and it is not working anymore. I tried to write my own but something goes wrong. As ...
0
votes
0answers
7 views

Model\User not found

I am trying to retrieve information on Users using the Microsoft Graph Library for PHP. I can see that in GraphResponse.php, my $result is filled with correct data but the code does not find the ...
-2
votes
0answers
12 views

Getting frequent 504 when using Microsoft Graph to list all drives from a sharepoint site

I want to list all drives from sharepoint. My code works most of the time. Lately I get hit with more 504 (UnknownError)... I used Microsoft graph explorer and even on one of the example "https://...
-1
votes
0answers
11 views

How to load SharePoint object via graph API having object url

From the beta Microsoft graph documentation it seems to be impossible to load a SPO object if it type is unknown through it url. To get a site: GET /sites/{hostname}:/{server-relative-path} To ...
7
votes
1answer
63 views

Microsoft Graph Calendar API - TargetIdShouldNotBeMeOrWhitespace error

We use Microsoft Graph API's to create a calendar in outlook Following is the HTTP Request POST https://graph.microsoft.com/v1.0/users/me/calendars Content-type: application/json { "name": "My ...
0
votes
0answers
21 views

“Not Found” error in updating Microsoft Graph subscription for calendar mailbox

I realize this question might be a duplicate of Microsoft Graph Subscription ExtensionError - Delete / Update, but since the original question doesn't have an answer yet and I decided to write another ...
0
votes
0answers
21 views

MICROSOFT: Adding a Tab to a Team Channel through Flow

I'm trying to use Flow to add a Sharepoint List Tab to a Channel in a Team. But while I can add a Tab, the Tab is always blank. I've tried both Microsoft Graph Explorer and Flow but I can't seem to ...
-1
votes
0answers
39 views

python: How to direct and save MS Graph-retrieved mail to mh mailbox folders

I want to apologize in advance for not providing code, but I don't actually know where to start. I have successfully downloaded mail using the MS Graph API and I want to store them in specified MH ...
-1
votes
0answers
22 views

MS-Graph REST API(1.0) findmeetingtimes returning 403 forbidden from 20th MAR 2019

Calling Microsoft Graph /findMeetingTimes API (v1.0) via Java Retrofit client is returning a 403 Forbidden with the message "UnknownError". Note Delegated permissions provided: Calendars.Read, ...
0
votes
1answer
26 views

Reading user emails using MS Graph API C#

I'm trying to use MS Graph API to read emails from a specific mailbox. var client = await GetClient(); //getting a client with client id, secret var users = await client.Users.Request() ...
10
votes
0answers
79 views

Microsoft Graph API - SendMail http 400 - API url from documentation not working

My application sends email using Microsoft Graph. We followed the documentation, this was working as expected for almost a year: https://graph.microsoft.com/v1.0/users/me/microsoft.graph.sendmail ...
0
votes
1answer
23 views

download csv report from msgraph api

Using Java 8, on Websphere 8.x . Trying to grab a audit report from the MS Graph API (/v1.0/reports/getEmailActivityUserDetail(period='D7') end point) to do things like report last user login ...
0
votes
1answer
20 views

Access Token error - Graph API getting user profile

I'm using Microsoft graph API to get to login and get a users profile. I have the accessToken. Though I'm trying to get the profile of the user that I got the AccessToken with. This is my code, am I ...
0
votes
0answers
7 views

MailBox Usage Data not equivalent to Office Portal information in providing storage alerts

Replacing PowerShell MSOnline with Microsoft Graph. I want to see if the getMailboxUsageDetail report can be used. So I Set-Mailbox <id>@tenant -ProhibitSendQuota 19KB -...
-1
votes
1answer
19 views

Update user's images on Azure Active Directory using Graph API (c# .Net windows service)

My Network admin has configured local(On Prem) MS Active directory on MS Windows server 2008 and now they have moved to Azure Active Directory in a hybrid mode e.g keeping both Directories ...
1
vote
1answer
27 views

Python requests library is not working, while cURL is working

I need to retrieve a JWT (JSON Web Token) from a Microsoft API using Python (check this API documentation for Microsoft Graph) The following Python code using the requests library does not work ...
0
votes
0answers
12 views

Find Meeting Times always returns Locations Unavailable

I've been using this API without any issue for a year now, but since a few days, it seems that if the location constraint is set to require the API returns Locations Unavailable. Could this be due ...
0
votes
0answers
8 views

Outlook 365 Get Events Resource Room - Show subject instead of organiser?

So when I call any of the Microsoft Graph APIs to get events of resource rooms, all the events come back but the subject on all of the events is just the organiser name, rather than the subject that ...
1
vote
0answers
12 views

UnknownError from Graph API when accessing Sharepoint documents

I have a multitenant app where multiple tenants at random gets a non-helpfull error "UnknownError", when accessing the sharepoint documents through Graph API. This happens when listing files in a ...
2
votes
0answers
65 views

Microsoft Graph Subscription ExtensionError - Delete / Update

Issue I currently have an Azure Active Directory Application that has a Microsoft Graph Webhook Subscription listening for new emails (messages) in a specified mailbox. The subscription has a ...
-1
votes
1answer
20 views

ms graph php sdk message object fails to check if there are attachments

I am retrieving messages from an Outlook account. I am trying to get inline files and attachments from those messages. $graph = new Graph(); $graph->setAccessToken($this->getAccessToken()); $...
0
votes
1answer
15 views

Microsoft Graph API search functionality only returns newly added files after a few minutes delay

The search functionality in Graph API doesn't return newly added files until several minutes after they have been added. Is there a fix for this on horizon, or an alternative function we could use ...
1
vote
0answers
32 views

Microsoft Graph List Contacts API returns contacts beyond what are visible in the Outlook UI

Outlook UI You can see that I've made three test contacts in the UI accessible here: https://outlook.live.com/people/ Microsoft Graph List Contacts API When I call the List Contacts API (https://...
1
vote
1answer
50 views

How to check if a user is in an AD group via Azure AD?

Setup Specifications .NET 4.5.1 MVC Project Project contains .aspx files (legacy) Currently user Azure AD for authentication via Cookies. Azure portal configured (via App Registrations) with "...
2
votes
2answers
21 views

MS Graph - get all users

I'm trying to pull back a list of all users, my expected result would be approximately 20,000 users. Graph appears to limit me to 1000. The graph call https://graph.microsoft.com/v1.0/users returns ...
0
votes
0answers
28 views

How and where do I add a new Schema Extension?

I have been trying for weeks to add a new Schema Extension for my Microsoft Graph based MVC application, essentially to store some basic variables along with a mail Message. I've followed this ...
0
votes
1answer
48 views

Query users from different azure tenant

We have a case where we have 'clients'. Every client is an different Azure tenant but we keep their tenant id in the database. So we have Angular application where we want to have like a dropdown with ...
0
votes
1answer
35 views

Graph Api: Deleting attachment from group post results in access denied, even though application/user has been granted required permissions

I am using Graph Api for managing our organization's Office 365 groups. I am able to view and delete groups' threads without any issues, but when I try to delete an indivindual attachement inside the ...
1
vote
1answer
37 views

Use Microsoft Graph with ASP .NET Identity external authentication

I have a web application using ASP .NET Framework. One its features requires to access to the user’s Outlook calendar. For the moment, the application uses the regular ASP .NET Identity ...
0
votes
1answer
24 views

Display profile picture obtained from GraphAPI in <img>

I am working on an Angular 6 application with NodeJs in which I'm trying to get my Profile photo using GraphAPI. I used this API: https://graph.microsoft.com/beta/me/photo/$value It returns binary ...
0
votes
0answers
19 views

Create an Office 365 group via Microsoft Graph gives 404 error

I have a SPFx web part that is going to be used to create new SharePoint sites (Office 365 groups) through Microsoft Graph. I have approved the API permissions to Group.ReadWrite.All and Directory....
2
votes
1answer
34 views

How do I obtain the Azure AD groups of the currently logged on user without needing a domain admin to grant my application any rights?

More specifically: I have small Azure AD under which i have registered my application. The application is marked as multi-tenant as i want people to be able to log in to it with their own corporate ...
1
vote
1answer
28 views

Finding and Displaying Extension Properties in MS Graph

This AAD powershell easily lists out the extension Properties for a user: PS C:\WINDOWS\system32> Get-AzureADUser -ObjectId 50413382@wingtiptoys.com |select -ExpandProperty ExtensionProperty Key ...
0
votes
1answer
13 views

Using MS Graph API to subscribe/import an iCal URL

How can I use the Microsoft Graph API to import/subscribe an Office365 user to a calendar hosted at a URL in iCal format? For example, suppose I have a calendar hosted at https://example.org/events....
0
votes
1answer
20 views

EWS: How to get CRM ID from Outlook?

I have been looking for a way to retrieve CRM ID from Outlook. CRM ID is extended property. We have D365 and Outlook and enabled server-side sync for Contact. We have custom logic and to work properly ...
2
votes
1answer
52 views

Microsoft Graph: Groups request failing with error about expanded list entry types

Here's the graph call I'm making: https://graph.microsoft.com/v1.0/groups?$expand=members This works successfully in two place: Microsoft Graph API Explorer Within my (same) code in multiple real ...
1
vote
0answers
20 views

How to retrieve embed image data from Microsoft Graph when there are no attachments?

I'm using Microsoft Graph to pull email data from a mailbox. When I get the content, I find embedded images with content like so: <img id="_x0000_i1029" width="1366" height="672" ...
1
vote
1answer
38 views

Accessing MS Graph API with directly obtained token issue

My project is based on this on-behalf-of-flow example. In my web api I have a non-restricted by [Authorize] method which receives login and password. I also have a restricted method which gets some ...
1
vote
0answers
29 views

Graph API returning 403 forbidden from 18th Mar 2019

The Following implementation works perfectly till 18th Mar 2019. var graphClient = this.graphService.GraphClient; var reqUrl = graphClient .Me .Request() .RequestUrl; reqUrl +="/...
1
vote
1answer
29 views

Error creating AKS cluster in ARM with service principal in MS Graph

I'm using the Resource Manager REST API to deploy an AKS cluster. To create the app and service principal it needs, I'm using Microsoft Graph (not Azure AD Graph). The problem I'm running into is ...
0
votes
0answers
14 views

office graph api- Get all unified groups where i am a owner or a member

I need to get all the unified groups in my tenant where i am a group owner or a member. So far tried the below graph api https://graph.microsoft.com/v1.0/me/memberOf/$/microsoft.graph.group?$filter=...
1
vote
2answers
49 views

Change the navigation of inviteRedeemUrl in Invitation Email: Azure AD

I created an email invitation using Microsoft Graph to a azure ad application. IN the email that was being received on clicking the Get Started (Elements of Email Invite)element it is being ...
2
votes
1answer
35 views

Azure: create O365 events from MySQL database

I want to create Office 365 calendar events which are in a MySQL table (on-premise server). Currently, I'm planning to do it with Azure Data Factory and a Functions App. I copying the MySQL Data from ...
1
vote
1answer
35 views

.NET Graph SDK Updating Sharepoint Online List Item Values

I'm trying to add values to a custom column on a list item after uploading the list item to the list. I can get the item into the list, and I can query the list and get back the item's data, but when ...
1
vote
3answers
49 views

Microsoft Graph - Filtering users by X500 proxyAddress

Is it possible to query for users, filtered by an X500 proxy address? Using the following query which filters by an SMTP address, I can return all of my proxy addresses: /v1.0/users/?$filter=...
2
votes
1answer
48 views

Retrieve all Users from all Groups?

Is it possible to see all of the Groups and all of the Users inside those Groups using Microsoft Graph? I don't see anything like that in the documentation. When calling: https://graph.microsoft....
1
vote
1answer
22 views

Can't get deleted occurrences of a repeating event from outlook calendar

I am trying to figure out how to get deleted occurrences of a repeating event. I am syncing with the delta token, and that gets me most of what I need, but if I have a recurring event in outlook and I ...
0
votes
0answers
25 views

Create View Sharing Link for document allows editing of the document

The Microsoft Graph documentation states that you can create a read-only Sharing Link by setting the type property to view. I have tried the same for an Office 365 document in my SharePoint site and ...

http://mssss.yulina-kosm.ru