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

Community site session details

Session Id :
Power Automate - Building Flows
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?

I have the same question (0)
  • ChristianAbata Profile Picture
    8,949 Most Valuable Professional on at
    Re: migrating user onedrive to sharepoint site

    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
    Re: migrating user onedrive to sharepoint site
    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,949 Most Valuable Professional on at
    Re: migrating user onedrive to sharepoint site

    @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
    on at
    Re: migrating user onedrive to sharepoint site

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 659 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 386 Moderator

#3
chiaraalina Profile Picture

chiaraalina 290

Last 30 days Overall leaderboard