Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
Unanswered

Permissions Problem with Create File On Prem with Gateway

(0) ShareShare
ReportReport
Posted on by 10

Hello all, 

 

I am hoping you all can help unravel this in my brain because I am stuck.  I have a report scheduled to run daily and email to a mailbox.  I'd like a flow to monitor for this email.  Once it arrives, take the attachment and save it to a folder on an on-premises server - which is running a gateway.

 

This flow was previously working and stopped.  I'm not sure why?!?

stephenmbell_0-1647050944193.png

Here is the flow that I have configured:

stephenmbell_1-1647051012385.png

 

Here is the error that I am receiving:

stephenmbell_3-1647051656954.png

 

 

And here is the connection:

stephenmbell_2-1647051628673.png

 

I feel like there are some funky things going on here, and I'm not sure why.  We've got a "service account" that is licensed to use the gateway to connect on-prem to power automate.  However, when initially setting this up we were having problems getting the message out of the mailbox - and it was delegated access to the mailbox.  So we created the flow under a different user (which did not have this problem) and shared it with the service account.

 

I'm not sure if the credentials it needs are the service account (account licensed in O365 to use the gateway) OR the service account that the gateway is running under on the Windows server.  I know that file system permissions have not been modified - so I don't really know what would have changed here.  

 

Any help is appreciated.

 

Thanks

Steve

  • v-xiaochen-msft Profile Picture
    on at
    Re: Permissions Problem with Create File On Prem with Gateway

    Hi @stephenmbell ,

     

    Please try to create a new file system connection.

    I guess the connection to your file system is broken.

     

    Best Regards,

    Wearsky

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Using Connectors

#1
DBO_DV Profile Picture

DBO_DV 25 Super User 2025 Season 1

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 8 Super User 2025 Season 1

#3
lbendlin Profile Picture

lbendlin 7 Super User 2025 Season 1

Overall leaderboard

Featured topics