web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / migrating user onedriv...
Power Automate
Answered

migrating user onedrive to sharepoint site

(0) ShareShare
ReportReport
Posted on by 4

hi
I am creating a flow using ms forms, OneDrive for business and SharePoint 

basically what I'm trying to do is when a user leaves the company a form is submitted and I am trying to create an automated process that will take all of the user OneDrive contact and move it to a SharePoint site, set from the username given from the form 

 

my problem is I cant register a new connection to one drive in the flow using the username and password automatically.
when I'm registering a new connection I can register only manually,
is there any way to sign to a  new connection using the input from the form?

Categories:
  • ChristianAbata Profile Picture
    8,953 Most Valuable Professional on at

    hi @itaira  unfortunally you can't do that, becouse all conections need pass and username from each user, so it's imposible to acces the services from other users if you don't know the password and username. So this could not be automatically.

  • itaira Profile Picture
    4 on at
    If i know the password?
    We have a default password we reset their pass when they leave.
    Can it be embedded in the flow?
    And only use the changing usernames given from the form.
  • ChristianAbata Profile Picture
    8,953 Most Valuable Professional on at

    @itaira no my friend becouse when you create an action see that a login window is promt so, this step is manually. If you want to conect your flow to every user that leaves your org you need to create an action every time a form is submited. I'm thinking in UI flow to make RPA process maeby.

  • Verified answer
    v-alzhan-msft Profile Picture
    Microsoft Employee on at

    Hi @itaira ,

     

    I agree with @ChristianAbata , there is no any way to create the connection with data from previous action when the flow runs, the connection should be created before the flow runs.

     

    Best Regards,

    Alice

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 298 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard