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 Apps / Power's import csv(or ...
Power Apps
Unanswered

Power's import csv(or excel) invitees in group

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

I want to import external users (firstname lastname, email) as invitee in group from a CSV or Excel File.

I tried with AzureAD connector:

AzureAD.CreateUser(true;TextInput1.Text;TextInput1_1.Text;"23er45RE";TextInput1_1.Text);;
AzureAD.AddUserToGroup(GroupeID;TextInput1_1)

 

But It doesn't work.

Can you help?

 

Thank you

Patrick

Categories:
  • v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi Patrick,

     

    Could you please explain a bit for what you would like to achieve here?

    When excuting the following command, have you seen any error messages?

    "

    AzureAD.CreateUser(true;TextInput1.Text;TextInput1_1.Text;"23er45RE";TextInput1_1.Text);;
    AzureAD.AddUserToGroup(GroupeID;TextInput1_1)

     

    "

     

    Regards,

    Michael

     

     

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello,

     

    Error:

    Invalid argument type (Text). Expecting a Record value instead.

     

    It seems to be on password parameter.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @v-micsh-msft any idea on the error type? how to put a record instead a text for password?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Why you are not using flow to do so ? like that :
    2018-04-09 16_25_04-Edit your flow _ Microsoft Flow.pngofc you can use excel instead of sharepoint 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @Anonymous

     

    I don't use Sharepoint. I've a list of new contacts every month in CSV/ Excel file and I must import them, add them to differents groups and some other tasks.

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Yes just replace the share point connector by an excel connector and that's working 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Sorry but the problem is not on Excel but on AzureAD connector. AzureAD don't "want" to create the external account due to an error on passowrd!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @v-micsh-msft haw can I create the "record" for password?

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 Apps

#1
11manish Profile Picture

11manish 354 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 320

#3
Mohsin Ali Profile Picture

Mohsin Ali 246

Last 30 days Overall leaderboard