1,518 questions
0
votes
1
answer
59
views
Re-importing deleted calendar event
My application uses the Microsoft Graph API to do some calendar events management. My app authenticates as the user and so acts on the user's own calendar only.
The feature I am working on requires ...
0
votes
0
answers
18
views
I am looking to create an automated export from our MIS - LabelTraxx
We use an MIS called LabelTraxx. Our company manufacturers labels and has 5 production lines. The operator for each production line will key in the details of their job, as well as their production ...
0
votes
0
answers
47
views
Request to get members from both main and nested group returns extra value
Hope to find answer cause I really stuck
Use such https://graph.microsoft.com/v1.0/groups/<group_id>/transitiveMembers?
$top=100 to retrieve info about members of both main and nested groups. I ...
0
votes
0
answers
106
views
Logon to Azure web app embedded in SharePoint iframe
I have a Flask app hosted in Azure App Service, available for a single M365 tenant. Users log in with their own account, and the application shows Sharepoint data in a Plotly Express Gantt chart.
It ...
0
votes
1
answer
103
views
eDiscovery logs are part of DLP logs in Office 365 Management API?
On Office 365 management API documentation eDiscovery Schema is listed underDLP Schema but I cannot see eDiscovery audit logs if I fetch the DLP API.
Is there any separate endpoint to get these audit ...
0
votes
1
answer
174
views
GET document library metadata with Python (other languages welcome too)
I'm working on a back-up system where, at some frequency, the metadata columns in a document library in my SharePoint is backed up into an Azure SQL Database. I have registered an app in Azure with ...
0
votes
0
answers
116
views
Office 365 rest API fails access token after Pyinstaller makes it an exe
I have a python script that updates a pandas dataframe to a Sharepoint List. This works fine when I run it. But after I've used PyInstaller on the python script and run it from the exe file I get: ...
1
vote
0
answers
67
views
How to get Sharepoint and ms365 groups of a sharepoint file
I am trying to get all groups that have access to a given sharepoint file. I need the sharepoint groups + the ms365 groups that have at least read access but I only get the sharepoint groups.
I use ...
0
votes
1
answer
529
views
How to use "Modern auth" with MSAL.NET and personal Microsoft accounts
We're migrating our desktop software from using SMTP auth for email, to using modern auth.
The application requests IMAP and SMTP permissions for an integrated email client.
We already have ...
0
votes
0
answers
112
views
ErrorInvalidIdMalformed when Updating Microsoft Teams Meeting via Microsoft Graph API
I'm experiencing an issue while updating a Microsoft Teams meeting using the Microsoft Graph API. I receive the following error:
Microsoft.Graph.ServiceException: 'Code: ErrorInvalidIdMalformed ...
3
votes
0
answers
161
views
SharePoint REST V1 API is failing with unauthorized access, however MS Graph SharePoint api is working fine for the same user
We're currently utilizing the SharePoint List V1 API(For an MS Team site) to create new lists with hidden columns, as this functionality does not work as expected with the Microsoft Graph SharePoint ...
0
votes
1
answer
380
views
Get list of files in personal sharepoint with python
I want to get the list of all files in my personal oneDrive/sharepoint within my company via python. However, I only get an empty list as a return without any errors.
My code looks as follows (taken ...
0
votes
1
answer
127
views
401 Error when using EWS after period of time
I'm having an issue with 401 errors appearing after a certain amount of time (I believe due to the Token Expiry) in my application. The code I have for the Exchange connection is:
Connect is called ...
1
vote
1
answer
94
views
copyFrom on rangeAreas objects throwing an invalid argument error - Javascript Excel
Using the Excel Javascript API, I'd like to copy values and formatting from one rangeAreas object to another with equal dimensions. According to the docs, copyFrom should work the same with rangeAreas ...
1
vote
0
answers
84
views
Word JS: get a Range object based on start and end indices
Background
I'm writing an add-on to help visually highlight certain text in court opinions, legal memos, and law review articles. As an example:
The question is whether section 404(c) of the FSA bars ...
1
vote
0
answers
164
views
PowerShell cmdlet Get-Team -NumberOfThreads
My question concerns the management of teams in MS Teams:
I want to use Get-Team in PowerShell to retrieve all teams in my environment.
Can someone explain to me what the -NumberOfThreads attribute ...
1
vote
0
answers
82
views
How to get email received date using Office365-REST-Python-Client
Using this library I have been able to get the subject, sender, body, and attachments of all emails in an inbox but I cannot figure out how to get the received dates /sent dates of an email.
messages =...
0
votes
1
answer
352
views
Getting 400 when trying to download sharepoint file using python and 365 clinet
I am trying to download sharepoint file using office 365 python clinet and user credentials. But I am getting following error when trying download. But I am able to list down the files without any ...
0
votes
0
answers
165
views
How to modify folder columns using Sharepoint API
I have a folder in Sharepoint with a lot of files, and there is 2 columns that I'd like to fill in automatically using Python, as it's not a list I couldn't find how to do that.
I already managed to ...
1
vote
1
answer
206
views
Getting the default contact Folder
I'm using trying to get default contacts folder.
currently I'm trying testing them on graph api.
if I https://graph.microsoft.com/v1.0/me/contacts, I can get all the contacts list correctly.
For ...
-1
votes
2
answers
171
views
Is it safe to integrate with SharePoint online API through a console application which is hosted on local VM
I have the below console application, which integrates with SharePoint Online. the console application is hosted on a local VM and authenticates with SharePoint using ClientId, TenantID & ...
0
votes
0
answers
187
views
VBA Uploading files to SharePoint using a file dialog
I have move my backend to sharepoint and created a folder called Images. The folder exists in the documents folder. The linked string is in the form:
https://webname365.sharepoint.com/sites/SECS-...
2
votes
1
answer
816
views
Why can not get body field in response of Microsoft Graph API for listing messages?
I want to read certain email messages and filter them. I am using Microsoft Graph API to query the office 365 mail box as below. I also added API permission "Mail.ReadBasic.All" for getting ...
0
votes
0
answers
248
views
Correct date/time metadata for files on sharepoint based on file information from Word/Excel
Maybe someone has a good idea for the following problem.
In our company, we just went through a take-over of our Microsoft 365 domain. During that process, all data from the old sharepoint was ...
2
votes
1
answer
162
views
how to convert word Ooxml to html using javascript?
getHtml() method doesn't return the exact same HTML for the same document on different platforms (Windows, Mac, Word on the web, etc.). If you need exact fidelity, or consistency across platforms, ...
1
vote
1
answer
3k
views
Sending email OAuth2 Office365
I have an application's clientId, tenantId, and secret from registering an app in Microsoft Azure services.
I managed to get a token, from here: https://login.microsoftonline.com/{tenantId}
I also ...
0
votes
1
answer
221
views
odata API $count deserializing issue in azure synapse copy activity
I am trying to get count from API call where I used /$count keyword. I want to capture this count for further validation and using copy activity.
But unfortunately I am getting the following issue.
...
1
vote
1
answer
594
views
Python Office365 Rest API - Error with get_folder_by_server_relative_url .add function
I have had a script that worked fine for as long as I can remember, however, recently it has errored out with the below:
TypeError Traceback (most recent call last)
Cell In[19], line 53
50 info....
2
votes
2
answers
7k
views
how to get the domain(s) of a 365 tenant if you have the tenant id?
Currently you can get the tenant id for a given domain associated with a 365 tenant by using the GET response of https://login.microsoftonline.com/{domainname}/.well-known/openid-configuration
However,...
0
votes
1
answer
297
views
Should we use Graph API or Office Management API for extracting DLP reports from the compliance portal?
Should we use Graph API or Office Management API for extracting DLP reports from the compliance portal ? Which is more sustainable ? Is there chances of getting any of them deprecated in future ? If ...
1
vote
0
answers
782
views
Invalid credentials for O365 autodiscover using exchangelib
trying to put together a simple python script to send emails from an office 365 mailbox using exchangelib, but cannot seem to get the authentication going.
followed the steps in the documentation to ...
1
vote
1
answer
347
views
Endpoint in Microsoft Graph Explorer to retrieve a list of all applications a user has access to
I'm working on a project where I need to retrieve a list of all applications that a user has access to in Microsoft Graph Explorer. By "applications," I mean Microsoft 365 applications like ...
4
votes
1
answer
13k
views
HTTPError: 403 Client Error: Forbidden for url via Office365-REST-Python-Client
I tried this sample code for my org (for which my AD admin gave full access in SharePoint :
from office365.runtime.auth.client_credential import ClientCredential
from office365.sharepoint....
0
votes
1
answer
642
views
Filtering via OData query in sharepoint Office365
We need to be able to filter on a submap in a sharepointlist.
I have tried with the following expression, but it does not recognize the field:
"(fields/task eq 'offered') and (contains(url,'...
0
votes
1
answer
543
views
Graph API Messages endpoint, what is the filter to get read/unread flag
Using this endpoint:
https://graph.microsoft.com/v1.0/me/messages/?$top=50&$count=true&$select=receivedDateTime,Id,Sender,Subject,Body
The endpoint works well (have skipped setting Bearer ...
2
votes
0
answers
879
views
Sending email with Nodemailer and Office 365 with OAuth2
I am trying to use Nodemailer to send emails using Office 365 with OAuth2.
After many failed attempts, and many unauthorized errors, I got to the following code:
const config: Options = {
...
0
votes
1
answer
53
views
Seeking Assistance with Reading Emails from Office 365
I have been facing challenges when it comes to reading emails from Office 365. It seems that the content I come across is frequently deprecated, making it difficult to keep up with the ever-changing ...
0
votes
1
answer
6k
views
Error retrieving sharepoint folders with Office365-REST-Python-Client
I'm working on a python project which contains a function that is supposed to retrieve a folder from the sharepoint of the company using the Office365-REST-Python-Client libary.
I already created an ...
0
votes
0
answers
51
views
The used range is not synced in the Microsoft Excel API after pushing data continuously in the Excel sheet
We are using two apis for pushing a row of data in the last. First we are using getUsedRange for get used range of the worksheet and then we use worksheet's rowsBelow api to push a row in last.
PATCH -...
0
votes
1
answer
1k
views
Microsoft Graph API redirect E-Mail instead of forwarding
I'm currently creating a tool for redirecting incoming Mails to the correct E-Mail based on the Mail-Content.
I've already done the script, but I've one behaviour what I do not like much....
I use the ...
0
votes
1
answer
560
views
Graph API - Get nested values from Powershell into the output
I am trying to get a list of all Microsoft 365 Admin Centre Messages into a table, but I am having an issue with the output formatting, since the "Services" Field is nested.
I have an azure ...
-1
votes
1
answer
683
views
Modify MS 365 unified group membership using PowerShell with Enterprise app authentication
Im trying to run the following command:
Add-UnifiedGroupLinks -Identity '[email protected]' -LinkType members -Links [email protected]
However, the error I am getting is:
Write-ErrorMessage ...
2
votes
1
answer
4k
views
How to get instances of recurrent calendar event for Microsoft Graph
I need to get all calendar events in a certain time period (for example last two weeks). How can I get instances of recurrence meeting for this time period, if this recurrent meeting was created for ...
0
votes
1
answer
314
views
InsertOoxml() method of content control is not working for web version of word document
InsertOoxml() method of contentControl word office js api is not working in online Web version . Tried to get the ooxml of a sample chart from desktop and tried to run the same valid ooxml in web ...
1
vote
1
answer
3k
views
How to add folders in sharepoint using office365-rest-python-api
I have registered an application in sharepoint with read and write access to the site.
I want to create folders with subfolders and I found solution in official documentation:
def create_folder(...
0
votes
1
answer
612
views
Upload files to SharePoint through Python
I am trying to upload files to SharePoint through Python.
I have tried the following:
from office365.runtime.auth.user_credential import UserCredential
from office365.sharepoint.client_context import ...
0
votes
0
answers
147
views
Weblink returned by GraphAPI for shared calendars does not work
We're seeing a similar issue as this but with shared calendars.
If we generate a link to a item in our shared calendar the page renders the user's calendar and starts to open the item but hangs once ...
0
votes
1
answer
258
views
Output on Jupyter Notebook different of the VsCode output
I did a code on Jupyter to text my logic and it's working correct, but when using this code on a .py file in VSCode I get a wrong asnwer.
I'm using the Office365-REST-Python-Client library to get a ...
0
votes
2
answers
474
views
How to check in uploaded files to Sharepoint using office365 API?
So I'm able to upload a file in SharePoint using office365 package, however in SharePoint it is not checked in and I had to manually do it. Is there any way function in that package to do check in?
...
1
vote
1
answer
2k
views
How to log calls to Graph API or Office 365 Management API
I've been tasked with finding a solution for logging calls to Graph API on a specific AAD tenant. From what I've read, this isn't possible
https://learn.microsoft.com/en-us/answers/questions/106246/...