I want to read all emails in my domain against a query using Office365 Outlook API. Currently, I am enumerating one user at a time and extracting all the emails for it
https://graph.microsoft.com/v1.0/{userId}/messages
This approach is not scalable as in the case of 1000+ users it will take a lot of time. I want to extract the emails for all users against a query but without enumerating individual users.
Related
We are developing a solution that collects users emails (users are employees of the our client company) from Outlook and, based on these emails, calculates metrics, determines user burnout, etc. We are trying to create a test stand for load testing. by generating emails for test users. We use methods https://learn.microsoft.com/en-us/graph/api/user-post-messages?view=graph-rest-1.0&tabs=http and https://learn.microsoft.com/en-us/graph/api/user-sendmail?view=graph-rest-1.0&tabs=http.
But we have a problem: we receive emails from Microsoft that it is impossible to send more than 10,000 mails per day from one mailbox. How to get around this limitation? It prevents generating data for the test stand
We have been extensively using graph API's and Bookings and have a request for scheduling group sessions through Bookings. Currently, we think we can only do this by recursively generating a booking for each person. We would like to be able to specify a list in the JSON when creating it.
Use Case is for a group therapy session that will have multiple people.
Part two of the request is to be able to publish a booking event and allow multiple external users to sign up to attend.
All tips and guidance welcome.
Thanks!
Create an Azure AD based application and choose the Identity flow suits you
Get the access token from Azure AD
With the token make Graph API calls (Bookings/Calendar) based on your application logic and send to multiple participants...
In addition, even you can think about considering Azure A2C scenario as well, so that you can allow multiple external users to sign up to attend.
You confirmed that you're trying the BETA version of the Bookings graph API Batch calls
and that seems to be working.
I'm using the mosquitto service
I add the user to the users list in the file to authentication users when user subscribe to broker
Now if the number of users in this file is more than 100,000
Will it bring a heavy burden to the mosquitto?
My users may be more than a million user
Also i try to restrict users to self topic so i have to add topic name and username to ACL
So acl file is heavy
How do i manager all users authentication and acl without any problem
For that many users a flat file is a REALLY bad idea, even if the data is converted into a easily searched data structure it will be a real problem to find users in the files to edit/remove.
This is exactly what the authentication plugin interface is for.
You can write your own using the API or JPMens has written a plugin that lets you keep the Username/Password and ACL in a selection of different databases (e.g. MySQL, Postgress, MongoDB, Redis...) .
I wonder if anyone can help me, I'm getting a little confused as to
which API to use. If anyone can offer some guidance I would really
appreciate it.
I'm trying to create an website where users can monitor Twitter for
certain hashtags. The site will continually search twitter for any new
updates and store any tweet related to that particular hashtag. This process will run for up to 60 days.
As far as I can gather, my two options are:
Using the Search API
The problem with this API is that if I have a 1000 users all
monitoring different hashtags, I am quickly going to reach my API
limit since I will be making a fair few requests, potentially once
every 2-3 minutes. Is there a way to use oauth in conjunction with the
search API so that the limits are user based and not application
based? That way, the limit will be user specific and I won't have to
worry.
Using the Stream API
I thought this might be a better solution, but it seems you are
limited to how many connections you can have open. The documentation
seems unclear as to how this works... is the connection limit per twitter account
or service ip? For example, if my site had 1000 users each of those users was
monitoring a hashtag, would those 1000 stream api connections be
against my servers ip or would they against the user?
You will want to use the Streaming API. You will open a single connection that will track the terms for all of the users. When users add new terms to track you will restart the stream with the new terms. The single stream will be for a bot Twitter account you create and not your users accounts.
I'm looking for a way to programmatically manage email lists and send large numbers of emails to these lists. The general idea would be similar to how social networking sites send email notifications when a friend posts new content. Since a user could have tens of thousands of followers, it doesn't seem realistic to send these directly from my application so I'm curious if there's a good way to handle this through a service provider. My company is using Google apps but I'm not an expert on their API. Our environment is ASP.NET MVC.
Any advice is most appreciated!
MailChimp provides API access to their customers, allowing you to manage lists and send out campaigns.