Questions tagged [o365-flow]

63 questions
0
votes
1 answer

Export security group from office 365

I try to export my security groups, and after import and delete more than 1 groups. $test = Get-MsolGroup | Export-Csv -path c:\temp\list.csv -encoding UTF8 After import it: $groups= Import-Csv -Path C:\temp\test.csv But now the format is not good…
AlexSwamp
  • 11
  • 2
0
votes
1 answer

O365 Authorization Code Grant Flow URL not loading

I'm trying to use the O365 pypl python library to receive a new auth token after changing my microsoft password. The authentication flow looks like this: from O365 import Account credentials = ('my_client_id', 'my_client_secret') # the default…
0
votes
1 answer

Issues connecting to Microsoft Exchange online using PowerShell - app only authentication

I could not connect to Exchange Online, I get the below error while connecting Error Acquiring Token: System.Exception: In the case of a Federated user(that is owned by a federated IdP, as opposed to a managed user owned in an Azure AD…
Karthik
  • 91
  • 2
  • 13
0
votes
1 answer

Changing UPN to a Mail Id

By default all the User Principle Name and mail for O365 will be same but how to change User Principle Name and also how can we create an user with different User Principle Name and different mail.
0
votes
1 answer

Automate saving received files in Teams chat

for any file that is sent to me via Teams chat, is there a way to trigger a flow to save it somewhere (one drive, sharepoint, etc)? I would like to capture files sent to me from all chats. Thanks! Brook
0
votes
1 answer

AADSTS700016 ERROR when I try to get access to my outlook calandar with python

I'm trying to get access to my outlook calandar using the following code: from bs4 import BeautifulSoup from googleapiclient.discovery import build from google.auth.transport.requests import Request from O365 import Account from O365 import…
0
votes
1 answer

How do I get the full list of recipients in a specific email with Python's O365 library?

I need to retrieve emails from an account I have access to. I have two conditions: Email must be unread. The "to", "cc", and "bcc" fields may not contain a specific address: "name@example.com". The unread filter (1) works as expected, but for (2),…
jutta
  • 21
  • 5
0
votes
1 answer

Microsoft Graph API Permissions

Well, I've registered a new app with following permissions Now then i run this code from O365 import Account CLIENT_ID = 'xxxx' SECRET_ID = 'xxxx' TENANT_ID = 'xxxx' credentials = (CLIENT_ID, SECRET_ID) account = Account(credentials,…
0
votes
1 answer

Exchange DistributionGroup Alias vs. secondary EmailAddress

Where is the difference between Set-DistributionGroup testgroup -Alias testgroupalias and Set-DistributionGroup testgroup -EmailAddresses @{Add="testdistributionlistalias@domain.de"} Why documenation saying only 1 alias is possible?
insane_IT
  • 63
  • 7
0
votes
1 answer

Azure Logic App Outlook Connector “Send Email with Options”

I am trying to create a flow in Logic app which will send a outage email to bunch of recipient. Now here I have to add a trigger which will get the user details from PostgreSQL stored in variable. In email session I will call this variable in To…
0
votes
1 answer

O365 API, Forward an Email

Is there anyway to forward a message using o365 API ? This is what i tried to far: # Authentification from O365 import Account, message credentials = ('Client_ID', 'Secret_Client') account = Account(credentials) print(account) if…
0
votes
1 answer

How to send parameters on O365 Power Automate HTTP Request connector

I've been troubleshooting this for days now but still no luck. I'm trying to send parameters to an API link provided by Microsoft O365 Power Automate, this API requires a customer number, company code, and posting date and in return, it will send me…
0
votes
0 answers

php can't connect to o365 imap server after application migration

I really tried to fix this by myself in the past 3 days but I run out of ideas. The thing is that when I was testing the application on azure I didn't have any issues. I already had a windows server VM, where I installed WAMP to test out the PHP…
micro75
  • 1
  • 2
0
votes
1 answer

Python O365 Outlook Connection Issues

I am trying to write a script in Python to grab new emails from a specific folder and save the attachments to a shared drive to upload to a database. Power Automate would work, but the file size limit to save the attachment is a meager 20 MB. I am…
0
votes
1 answer

Microsoft Graph export to pdf using python-o365 gives invalid file

I am trying to download a word document saved in one drive as pdf using the python-o365 library but the downloaded file cannot be opened with adobe. I get an error Adobe Acrobat could not open 'Output.pdf' because it is either not a supported…
West
  • 2,350
  • 5
  • 31
  • 67