10,752 questions with Microsoft Graph-related tags

Sort by: Updated
1 answer

Teams Meeting

I am trying to get the user from an ongoing meeting using MS Graph api, Is there a way to do this?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,730 questions
asked 2024-05-13T17:19:28.1133333+00:00
Allen 0 Reputation points
answered 2024-05-13T17:50:20.93+00:00
CharanyaB-MSFT 1,421 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Certain fields of mguser update arent working and I am unsure why.

$csvData = $csv | Select "User principal name","Title", "Department", "City", "StreetAddress", "Reporting managers" foreach($user in $csvData){ $userPrincipalName = $user."User principal…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,730 questions
asked 2024-05-13T15:24:18.1066667+00:00
Nicolas Odorico 0 Reputation points
accepted 2024-05-13T17:34:38.32+00:00
Nicolas Odorico 0 Reputation points
1 answer

The reference target 'Application_xxxx-xxxx-xxxx' of type 'Application' is invalid for the 'owners' reference.

Hi folks, I am trying to add an application as an owner to a few Azure AD group but encountering below error message: "The reference target 'Application_xxxx-xxxx-xxxx' of type 'Application' is invalid for the 'owners' reference." I tried with…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,730 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,106 questions
Microsoft Entra
asked 2024-05-13T16:26:45.3366667+00:00
Apurva Pathak 310 Reputation points
answered 2024-05-13T17:33:21.6066667+00:00
Hitesh Pachipulusu - MSFT 80 Reputation points Microsoft Vendor
1 answer

How to query emails by recipient's email address?

I am using the Graph REST API. Below is my URL. https://graph.microsoft.com/v1.0/me/mailFolders('SentItems')/messages?$filter=sentDateTime ge 2024-04-27T16:00:00Z and sentDateTime le 2024-05-04T15:59:59Z and toRecipients/any(a:a/emailAddress/address eq…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,730 questions
asked 2024-05-13T08:49:38.14+00:00
Shaun Yang (Medalsoft) 0 Reputation points
answered 2024-05-13T17:26:36.3666667+00:00
Saranya Madhu-MSFT 75 Reputation points Microsoft Vendor
1 answer

Delete attachment api call is giving 500 Internal Server Error

For the following API: DELETE https://graph.microsoft.com/v1.0/me/events/{eventId}/attachments/{attachmentId{}} I am getting the following response: { "error": { "code": "ErrorInternalServerError", …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,730 questions
asked 2024-04-07T13:30:52.9466667+00:00
Shubham Yadav 0 Reputation points
edited a comment 2024-05-13T16:09:32.8066667+00:00
Olivier Drouin 0 Reputation points
0 answers

In Graph for Teams we used to be able to get a shift group for Time Off instances, This has somehow disappeared? Am I crazy or just dont know how to query graph correctly

In previous months in Shifts for Teams off time instances had a shift group ID, I cannot find this anymore. Am i doing something wrong.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,163 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,730 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,890 questions
asked 2024-04-09T13:30:03.65+00:00
Jonathan Spencer 0 Reputation points
edited a comment 2024-05-13T15:11:53.5166667+00:00
Jonathan Spencer 0 Reputation points
0 answers

Microsoft graph api error "You do not have permissions to open this file in the browser."

There was no problem when I first created the microsoft account. After some time passed, when I tried to request again, I got an error. I send a request to this endpoint and the following error is…

Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
982 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,730 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
843 questions
asked 2024-05-13T15:01:27.7+00:00
developeruser 0 Reputation points
0 answers

Upload files to Teams' team channel using Graph from VBA in Excel with Library 'Request check out'

I have an Excel file running some VBA code. This file is to be accessed and edited by my co-workers, so I share it in a channel in a Teams' team. This file, upon some choices and inputs on a kind of form inside it, automatically generates some other…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,163 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,730 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,755 questions
asked 2024-05-13T13:33:45.0833333+00:00
Inácio Rodrigues 0 Reputation points
0 answers

Are there API queries which can be used to Fetch User data like name, address from MS Azure/Entra Id?

I am a Salesforce CRM developer and need API queries to fetch the user details like Name, Phone, Email, etc. From Microsoft Azure AD/MS Entra Id. Are there any documentation or reference for same?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,730 questions
asked 2024-05-13T13:22:39.1833333+00:00
Powar, Gunjan 0 Reputation points
edited the question 2024-05-13T13:25:31.1333333+00:00
MayankBargali-MSFT 68,986 Reputation points
1 answer One of the answers was accepted by the question author.

Graph API Outlook Webhooks

I am trying to build a security system to monitor user's incoming emails and determine if the contents contain anything malicious. Initially, I want to use an outlook add-in, but there does not seem to be a way to automatically run the add-in…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,730 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,533 questions
asked 2023-12-05T18:01:28.3+00:00
Kyle Webster 20 Reputation points
commented 2024-05-13T13:18:27.1+00:00
Arturs Klesuns 0 Reputation points
1 answer

Unable to rewrite question

The original question contains inappropriate and unrelated content and therefore cannot be rewritten in a way that adheres to safety and community guidelines. As a friendly reminder, questions must be clear, concise, specific, and directly related to…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,730 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,689 questions
asked 2024-05-13T13:14:28.2166667+00:00
yehffh 0 Reputation points
answered 2024-05-13T13:14:47.22+00:00
yehffh 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to Read mails in shared mailbox using Graph API

Does Microsoft Graph API provide any support to Read emails from a specific shared mail box? Is it possible to achieve this through Python Script.

Outlook
Outlook
A family of Microsoft email and calendar products.
3,051 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,730 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,220 questions
asked 2024-04-19T08:01:44.9633333+00:00
SYAMNA S T 60 Reputation points
edited the question 2024-05-13T09:37:50.1166667+00:00
ChristyZhang-MSFT 21,011 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

How to fix MailboxNotEnabledForRESTAPI

Dear Team, I'm developing an application that requires access to a mailbox enabled for the Outlook REST API. We need a developer preview account to test our app's functionality, especially for creating online meetings, booking the host and recipient's…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,163 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
3,051 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,730 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,220 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,890 questions
asked 2024-04-18T10:21:56.6666667+00:00
asdfasfawfwfwf 40 Reputation points
edited the question 2024-05-13T09:36:32.7133333+00:00
Faery Fu-MSFT 17,111 Reputation points Microsoft Vendor
0 answers

Graph API `GET /teams/{id}/channels/{id}/filesFolder` results in "siteUrl cannot be null or empty"

Hi, We encountered the following error when accessing Graph API GET /teams/{id}/channels/{id}/filesFolder (document: https://learn.microsoft.com/en-us/graph/api/channel-get-filesfolder?view=graph-rest-1.0&tabs=http). { "error": { …

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,163 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,730 questions
asked 2024-05-13T09:20:01.22+00:00
CAT 1 Reputation point
1 answer

azure ad some of the filter not working with expand attribute like NOT startsWith(displayName, 'Yogendra')

azure ad some of the filter not working with expand attribute like NOT startsWith(displayName, 'Yogendra'). you can refer this screenshot

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,730 questions
asked 2024-05-06T07:03:48.7533333+00:00
Yogendra 0 Reputation points
commented 2024-05-13T09:06:57.03+00:00
CarlZhao-MSFT 37,456 Reputation points
2 answers

Not able to REST call to https://graph.microsoft.com/beta/appCatalogs/teamsApps

Hi Team, I need sample code in C# or documentation how can I generate token in C# code and by using that token how can I hit the URL: and make the request to that API https://graph.microsoft.com/beta/appCatalogs/teamsApps

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,730 questions
asked 2024-05-06T09:03:33.39+00:00
Hamendra Kumar (HCL Technologies Ltd) 0 Reputation points Microsoft Vendor
commented 2024-05-13T09:04:59.4633333+00:00
CarlZhao-MSFT 37,456 Reputation points
1 answer

Graph API - filter and select together - 404 error

When i use 'filter' and 'select' together in a GRAPH API url, it gives a 404 error This is my URL in web.config - https://graph.microsoft.com/v1.0/users?$select=givenName&$filter=startswith(displayName,'searchName') Following is the code i use to…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,730 questions
asked 2024-05-07T12:55:12.9133333+00:00
John Joseph Mathichiparambil - EW 0 Reputation points
edited a comment 2024-05-13T09:02:45.11+00:00
CarlZhao-MSFT 37,456 Reputation points
1 answer

Custom roles are not returned when i query a users memberof endpoint in graph api

Hi, I have used graph api users memberOf endpoint to get the roles assigned for a user . The response from the endpoint returns all the groups and roles that is assigned for that user , but the custom defined role is not returned . Is there any other way…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,730 questions
Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
677 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,689 questions
asked 2024-05-13T05:55:00.7266667+00:00
Harishankar B 0 Reputation points
answered 2024-05-13T09:01:39.62+00:00
Yakun Huang-MSFT 315 Reputation points Microsoft Vendor
1 answer

How to access OneNote Notebook data with MS Graph SDK python

Im trying to build a python app/script that goes through a onenote notebook and create folders for each section and creates html files for each of the pages in the section that will be saved in the respective folder. I tried to play around with the…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,730 questions
asked 2024-05-02T11:54:36.8833333+00:00
Yon Gold 0 Reputation points
commented 2024-05-13T09:01:16.1166667+00:00
CarlZhao-MSFT 37,456 Reputation points
1 answer

How to Authenticate Scan to email mailbox

Our organization is trying to have all mailboxes set up with MFA so we can turn of legacy. The issue is that we have scan-to-email function set up through a UserMailbox, so if we convert this to a SharedMailbox, users will no longer be able to use it for…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,730 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,220 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,689 questions
asked 2024-05-01T15:53:58.3733333+00:00
Dan Stepanukha 0 Reputation points
commented 2024-05-13T08:56:45.05+00:00
Mike Hu-MSFT 395 Reputation points Microsoft Vendor