10,730 questions with Microsoft Graph-related tags

Sort by: Updated
0 answers

Import Teams Call Records into Power BI via anonymous access

Hi I have been asked to create a dashboard for a business unit which uses Microsoft Teams for inbound calls, through a queue system, and outbound calls direct from the client. An app has been registered for Power BI in our Azure tenant and the following…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,708 questions
asked 2024-05-10T08:17:37.7733333+00:00
Michael Kane 0 Reputation points
2 answers

Get-MgUserAuthenticationMethod Command doesn't return any information

I am trying to build a PowerShell script we can use to run hourly that would basically look for users who have recently signed up for Multifactor Authenticator or have Authenticator setup on their account in general and then add them to the group that…

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
5,569 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,708 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,099 questions
asked 2024-05-09T17:27:25.7166667+00:00
Miranda-5426 0 Reputation points
answered 2024-05-10T08:10:16.7533333+00:00
Vasil Michev 95,836 Reputation points MVP
1 answer

Set Retention Label & permanent delete based on retention label

Unable to set the retention label (https://learn.microsoft.com/en-us/graph/api/driveitem-setretentionlabel?view=graph-rest-1.0&tabs=http) PATCH /drives/{drive-id}/items/{item-id}/retentionLabel ---I also want to permanently delete based on retention…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,708 questions
asked 2024-05-02T05:27:21.3166667+00:00
Akshith Reddy Thalla 80 Reputation points
commented 2024-05-10T07:30:23.05+00:00
Akshith Reddy Thalla 80 Reputation points
1 answer

Unable to filter emails by multiple categories with Graph

Hello, I am trying to filter emails by multiple categories with Microsoft Graph, but I'm not able to get it to work. I found this thread which gives me a query to filter by category 1 OR category…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,708 questions
asked 2024-05-07T06:47:39.59+00:00
Rafa 0 Reputation points
commented 2024-05-10T06:49:52.68+00:00
Rafa 0 Reputation points
1 answer

How can I look up a user's manager with the MSGraph Java SDK (unattended)?

For a bit of background, I am writing a Java app to run as a module in an older, legacy java application that was set up to use LDAP for directory services. I've registered an application in Entra and provided the least privileges so it can read the…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,708 questions
asked 2024-05-09T19:50:18.4666667+00:00
Brad Ellis 0 Reputation points
answered 2024-05-10T06:36:03.5833333+00:00
Yakun Huang-MSFT 315 Reputation points Microsoft Vendor
0 answers

Cannot Extract Text from One Drive Office Files due to assigned SensitivityLabels

Hi , I have one WebAPI which extracts Text from document (using temporary File generated after downloading onedrive download Url). This document is uploaded from teams chat and is stored in one drive under ms chat files folder. So for .docx file , it is…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,708 questions
asked 2024-05-08T12:10:15.95+00:00
DADemoUser 0 Reputation points
edited the question 2024-05-10T05:55:40.91+00:00
MayankBargali-MSFT 68,656 Reputation points
1 answer

Transcript API identifier from calendar/events API

Hi, I am using the me/calendar/events API to fetch the meeting content and I want to fetch its transcript if available. Which identifier can I use from the response of the me/calendar/events to fetch the meeting transcript from the transcript API? …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,708 questions
asked 2024-05-08T15:15:47.34+00:00
Enrico Cadoni 20 Reputation points Microsoft Employee
edited an answer 2024-05-10T03:42:17.35+00:00
Devi Shankar Jha 0 Reputation points Microsoft Employee
1 answer

Graph API: ManagedDevices not updating Primary User when changed from the Intune Portal

I've noticed that if I change the primary user for a device in the Intune Portal, that change is not reflected when making a Get request to "https://graph.microsoft.com/v1.0/devicemanagement/manageddevices/<deviceID>" Oddly, though, if I…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,708 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,397 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,099 questions
asked 2024-05-08T15:42:14.6566667+00:00
Michael DiGregorio 1 Reputation point
commented 2024-05-10T02:46:31.04+00:00
Crystal-MSFT 43,721 Reputation points Microsoft Vendor
0 answers

Graph API does not return a contact which was created when user was onprem, now in Azure AD

The Microsoft Graph API V1 fails to retrieve contacts with phone numbers (personal contacts) created when the user account resided in the on-premises Active Directory (AD). Although the user account has since been migrated to Azure AD, Outlook…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,708 questions
asked 2024-05-10T01:49:52.25+00:00
Guru J 0 Reputation points
0 answers

Unable to get Get a client ID in Microsoft Graph quick start

I am trying to download a sample at https://developer.microsoft.com/en-us/graph/quick-start? but after clicking Get a client ID and successfully login with organization account (with Multi-factor Outlook authentication) I am keep getting errors like…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,708 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,649 questions
asked 2024-05-10T00:26:06.1366667+00:00
Michael Freidgeim 21 Reputation points
1 answer

How to set the Outlook Email Sensitivity using API Call

{ "message": { "subject": "Meet for lunch?", "body": { "contentType": "Text", "content": "The new cafeteria is open." }, …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,708 questions
asked 2024-05-08T18:19:29.1166667+00:00
sud, sud 0 Reputation points
answered 2024-05-09T20:53:06.3266667+00:00
Hitesh Pachipulusu - MSFT 80 Reputation points Microsoft Vendor
1 answer

How to post messages on a channel

I have a multi-tenant Microsoft Teams tab app. I want it to post messages on a selected channel from my server. I successfully receive the token using this endpoint: https://login.microsoftonline.com/{TENANT_ID}/oauth2/v2.0/token Then, I use the token to…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,708 questions
asked 2024-05-08T19:54:04.64+00:00
Roman 0 Reputation points
commented 2024-05-09T20:44:28.41+00:00
Roman 0 Reputation points
1 answer

How to set the Outlook Email Sensitivity using API Call

Trying to set the sensitivity of an outbound Email using following API. No error. Email is sent/received successfully. But Message sensitivity is NOT set to "Secure" as expected. {   "message": {     "subject": "Mail…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,708 questions
asked 2024-05-08T15:52:54.43+00:00
sud, sud 0 Reputation points
answered 2024-05-09T20:26:36.78+00:00
CharanyaB-MSFT 1,421 Reputation points Microsoft Vendor
1 answer

Adding Scopes to a registered Service Principal

Hi there, We have a registered Service Principal (Enterprise Application) being used by several users granting us delegated permissions. We'd like to add an additional application (not delegated) permission to this service principal. For context, it…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,708 questions
asked 2024-05-09T19:34:17.8433333+00:00
Ivan Zeljkovic 20 Reputation points
answered 2024-05-09T20:05:39.91+00:00
Andy David - MVP 142.3K Reputation points MVP
1 answer

How to set the Outlook Email Sensitivity using API Call ?

Trying to set the sensitivity of an outbound Email using following API. No error. Email is sent/received successfully. But Message sensitivity is NOT set to "Secure" as expected. Pls help. {   "message": {     "subject":…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,708 questions
asked 2024-05-08T15:51:01+00:00
sud, sud 0 Reputation points
answered 2024-05-09T19:26:30.6366667+00:00
CharanyaB-MSFT 1,421 Reputation points Microsoft Vendor
0 answers

In Microsoft Graph Service SDK 6, how do I retrieve the User's Custom Attribute?

As of Microsoft Graph SDK 5, the way I retrieved a User's custom attribute information was the following: final var attribute = graphClient.users("Some_Azure_ID").buildRequest().select("Some_Custom_Attribute").get(); I have upgraded…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,708 questions
asked 2024-04-05T17:40:42.15+00:00
Kevin Guan 25 Reputation points
edited a comment 2024-05-09T18:17:46.89+00:00
Kevin Guan 25 Reputation points
1 answer

Microsoft Graph {user-id}/calendar/events returns 403 even though I've been given read access

Making a call to {user-id}/calendar/events is returning a 403, even though the specified user has given read access to their calendar.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,708 questions
asked 2024-05-08T21:51:27.9233333+00:00
Ryan 0 Reputation points
edited a comment 2024-05-09T16:24:54.6466667+00:00
Ryan 0 Reputation points
0 answers

MSAL Login Redirect Issue

When i am changing my loginPopup to loginRedirect its not working

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
5,569 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,708 questions
asked 2024-05-09T16:05:24.5666667+00:00
BANU Mahira 0 Reputation points
0 answers

How can I create subscriptions for multiple Outlook email accounts?

I am working on an application that may have millions of users in the future. Currently, I have implemented an Azure event hub and Microsoft Graph API to subscribe to the Outlook inbox change event, and the script successfully captures that change event…

Outlook
Outlook
A family of Microsoft email and calendar products.
3,039 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,708 questions
Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
562 questions
asked 2024-05-09T15:51:52.1266667+00:00
Pathum Jayasuriya 0 Reputation points
1 answer

ClientSecretCredential authentication failed

This is my code FolioFactory folioFactory = new FolioFactory(); ConfigOneDrive objOneDrive = folioFactory.ConsultarConfigOneDrive(e => e.IdEntity == IdEntity).FirstOrDefault(); var scopes = new[] { "https://graph.microsoft.com/.default"…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,708 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,301 questions
asked 2024-05-06T21:32:48.83+00:00
Mario Malvido 0 Reputation points
commented 2024-05-09T15:16:40.57+00:00
Mario Malvido 0 Reputation points