Running Macros with Microsoft Graph - office365api

I would like to run Excel Macros through the Microsoft Graph Excel API. I read through the documentation (https://graph.microsoft.io/en-us/docs/api-reference/v1.0/resources/excel) but couldn't find anything related to Macros.
Is there a way of executing my Excel Macros somehow via Microsoft Graph?
Thanks

You can't run your Excel macros from the Microsoft Graph Excel API. You will need to rewrite them to use the Microsoft Graph Excel API. In the meantime, you could voice your request for this feature at https://officespdev.uservoice.com/.
Update
Microsoft Graph has a new user voice home:
https://microsoftgraph.uservoice.com/forums/920506-microsoft-graph-feature-requests

Related

How to add attachments to todoTasks using Microsoft Graph API v1.0

I am trying to add an attachment to a task using Graph API. Previously you can create and list attachments using Outlook Tasks enpoints in Outlook rest API and Graph API beta.
https://learn.microsoft.com/en-us/graph/api/outlooktask-post-attachments?view=graph-rest-beta&tabs=http
However these are going to be deprecated soon and I am unable to find an equivalent feature in Graph Api v1.0.
Anyone knows how to do this in Microsoft To Do API? Thanks in advance
I'm having the same queston. It looks like it is not possible yet with the current 1.0 GraphApi. There is a feature request in Microsoft's techcommunity, feel free to upvote:
https://techcommunity.microsoft.com/t5/microsoft-365-developer-platform/implement-todo-task-attachment-apis-in-microsoft-graph-api/idi-p/3061321

Can I get a list of all Shared Mailboxes using Microsoft Graph Api

I would like to get a list of all the Shared mail boxes on my exchange server. An then I require to get details of each member of the shared mail boxes. How to achieve this via the graph api
I know we can do this via powershell but I would like to use the rest APIs in my javascript application.
I've come across multiple threads/forums claiming that microsoft had this in roadmap so have they implemented it?
This isn't a supported scenario with Microsoft Graph. For administrative managing and reporting of Exchange, you'll need to use PowerShell.

How to connectt Skype for Business Online data from Microsoft Graph Explorer

I am trying to start collecting Skype for Business Online data using Microsoft Graph Explorer in order to do my own reporting. Eventually, my goal is to automate this process using API calls and write the return data in my own monitoring database.
I opened a O365 trial account and using graph explorer with my global admin account to generate some SfB reports but having no luck:
SfB Business Activity Report
Am I doing something wrong here?
Also, I believe this query is supposed to return a CSV file. Is there a better way to achieve what I am trying to do?
Thanks,
The API you're using is in beta, and (contrary to the published documentation) seems to only work when:
you provide an output format parameter
that output format is JSON
The call you're trying to make will work as follows: GET https://graph.microsoft.com/beta/reports/getSkypeForBusinessActivityUserDetail(period='D7')?$format=application/json
You're not the only one waiting for these APIs to solidify and include more information. Hope this helps!

Can I set a Message Delivery Restriction for a mailbox via Microsoft Graph?

The goal is change so that the user mailbox only accepts messages from certain senders?
This can be done using PowerShell or the Exchange web interface.
Can this be done using Microsoft Graph API?
This isn't supported via Microsoft Graph.
Purely administrative functionality like this is often only accessible via a portal or PowerShell. If you're looking to build a custom front-end for this functionality, you may be able to leverage System.Management.Automation and execute the PowerShell script from C#.

how to get all tasks from outlook with Microsoft Graph or Office 365 REST API?

I am building a web application that needs to fetch all tasks from an organization that uses Outlook Task. Can this be done with Microsoft Graph or Office 365 REST API?
I haven't found any calls in the documentation of either services that would do something similar to that: https://outlook.office.com/api/v2.0/tenant/tasks
Should I find another approach or is it something that is doable?
Outlook Tasks is available in Preview on Microsoft Graph today:
GET /users/{id|userPrincipalName}/outlook/tasks (Graph Explorer example)
I'm afraid I don't have an ETA for when this will be generally available at the moment. According to the Change Log this functionality was added in April so it is still a somewhat recent addition.
This functionality is also available as part of the Office 365 REST API.
If you're looking for something production ready today, you may need to use this API instead. If possible, I would suggest waiting for Graph. Graph is where all future engineering energy will be focused and is the best long-term integration play.

Resources