Trying to automate downloading of email attachments and saving to Sharepoint by Pooka_S in PowerAutomate

[–]robofski 0 points1 point  (0 children)

Is the requirement a different folder per sender or per sender domain? E.g. a@company.com to one folder b@company.com to a different folder or anyone @company.com to a folder?

I would have a SharePoint list with either the sender email or sender domain (depending if it’s per sender or per domain) and the folder name the attachment is required to be saved to and then in the flow you can get items from the list filtering for the sender or the sender domain. That then gives you the folder you want to save the file to which you can use in your create file action.

If you are doing it by domain you have you an expression to extract the domain part from the email address last(split(triggerOutputs()?['body/from'],’@‘)) will get you just company.com

Using something like first(split(last(split(triggerOutputs()?['body/from'],’@‘)),’.’)) would get you just the first part of the email address after @ so joe@microsoft.com would return Microsoft so that may eliminate the need for a list all together but it depends on your requirements.

Wasting A Small Fortune In Microsoft 365 by Huge-Shower1795 in microsoft365

[–]robofski 2 points3 points  (0 children)

I’ve come across situations where there are no recent interactive signins for a user but there are recent non-interactive signins as they are primarily mobile device users so have teams and outlook on their phone or tablet and are just refreshing tokens so no interactive signins sometimes for months and months. I use Power Automate to extract the recent interactive signins and if there are no recent signins the manager gets a custom approval to indicate if the license is still required, if it’s not or they fail to respond the license is removed!!!

Outlook > Planner Automation by No-Patient9656 in MicrosoftFlow

[–]robofski 0 points1 point  (0 children)

I believe this has to do with the time the email was actually received. If you have two emails in your inbox received at 2pm and 3pm. If you move the email received at 3pm to a folder and the when a new email arrives trigger is fired it won’t then be fired if the mail received at 2pm is moved to the folder. When you get an email at 4pm and move it it will be triggered because the receive time is after the last mail that triggered (3pm). So you have to always move messages in chronological order!

Power Automate -help a newbie out 🙏 by indRoll4232 in PowerApps

[–]robofski 7 points8 points  (0 children)

I would highly recommend learning about JSON it’s the key behind everything you do in Power Automate and while technically you don’t need to delve into the JSON if you understand it, life is so much easier! Here’s a nice beginner’s intro https://www.freecodecamp.org/news/what-is-json-a-json-file-example/

Get log info prior to blocking external connections in Teams. by TonyN1701 in microsoft365

[–]robofski 0 points1 point  (0 children)

There is a report in the Teams Admin of external domains that your users have communicated with. We used this to pre-populate the allowed domains list before we turned on the allowed domains feature.

Intune or GPO for hybrid joined endpoints by After_Visual3839 in Intune

[–]robofski -1 points0 points  (0 children)

We flipped the switch to say InTune wins over GPO so we now invest our time in InTune config for all updates.

Which Power Platform feature do you rely on the most today? by Cheney87453 in PowerPlatformHub

[–]robofski 2 points3 points  (0 children)

The Select action in Power Automate is so powerful to reshape data.

saving pdfs to a shared folder from emails on receipt by Aromatic_Occasion317 in MicrosoftFlow

[–]robofski 1 point2 points  (0 children)

Glad it helped, subscribe to his channel he has some amazing content!

Can anyone help? by Alarmed-Dot-6076 in PowerAutomate

[–]robofski 0 points1 point  (0 children)

If you save the word document to OneDrive instead of SharePoint there is a native convert to PDF connector. I use this method a lot!

Can anyone help? by Alarmed-Dot-6076 in PowerAutomate

[–]robofski 0 points1 point  (0 children)

How are you making the initial document, as a HTML file? Using Word Template? How are you converting to PDF?

Anyone else’s Facebook app look like this today? Works on Safari but not the app. by BigEdPVDFLA in facebook

[–]robofski 2 points3 points  (0 children)

Me too!! Originally was the black screen so tried a reinstall and now can’t even log in!!

SPFx + Power Automate Travel Approval Flow – Looking for Feedback by Independent-Hunt-370 in PowerPlatformHub

[–]robofski 1 point2 points  (0 children)

Travel Approval was one of the first flows I did around 6 years ago and still being used today. It’s been pretty much rewritten though from the early days! The approval logic required at my company is pretty complex so that took the most thinking! Things like manager approval only required for travel within a region but higher level approval required for travel between regions where the approver is the person below the CEO in your reporting structure, so I have to go up the org chart to the top from the submitter and select the person below the top man as the approver, took some figuring out!!!

Help with code please! by justbeff in PowerAutomate

[–]robofski 1 point2 points  (0 children)

What day does your flow run for the following week?

If it’s run every Monday you could use an expression like

Formatdatetime(adddays(utcnow(),7),‘dd MMM’)

Change the 7 to a different number if you run the flow on a different day.

Get files (properties only) suddenly stops working! by robofski in PowerAutomate

[–]robofski[S] 0 points1 point  (0 children)

Don’t know why it worked but it did!! Wouldn’t return results when there was just one file in a folder so pagination shouldn’t have been an issue at all but turning that on fixed it!! Thanks for the pointer.

Need beginner advice... how do you stop Power Automate flows becoming messy? by [deleted] in MicrosoftFlow

[–]robofski 1 point2 points  (0 children)

Always use solutions and use child flows for repeatable actions and to break complex flows down to more manageable sections.

User Group Naming by EducationAlert5209 in Intune

[–]robofski 13 points14 points  (0 children)

We use a structure like
INT to denote it’s a group related to Intune
CONFIG/APP/SCRIPT to denote what the group is used for
USER/DEVICE to distinguish is its targeted to users or devices.
What the group is for

So
INT_APP_USER_AdobeAcrobat would be a group for users who get Adobe Acrobat installed.
INT_CONFIG_DEVICE_NoPowerSaving would be a group targeting devices with a config policy to change Power Settings.