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 Platform Community / Forums / Power Automate / migrating user onedriv...
Power Automate
Unanswered

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:
I have the same question (0)
  • ChristianAbata Profile Picture
    8,951 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,951 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard