Is there a way to import bulk users in an IoT Central App?

tshahab 1 Reputation point
2020-08-19T17:46:08.577+00:00

We have a need to add multiple users to an existing IoT Central App (Version 2). We have the option to add one user at a time which works fine but we would like to have a way where we can import multiple users in bulk.

18778-image.png

Azure IoT Central
Azure IoT Central
An Azure hosted internet of things (IoT) application platform.
364 questions
{count} votes

1 answer

Sort by: Most helpful
  1. QuantumCache 20,271 Reputation points
    2020-08-19T19:17:14.33+00:00

    Hello @tshahab , Thanks for reaching out to us!

    • How many numbers of estimated users (any range ?) are you planning to add?
    • Which one do you prefer, adding bulk users from IoT Central portal itself or via programmatically?

    Right now we have REST API to add a user, please see Add or update an email user

    Please refer to complete documentation on Azure IoT Central REST API reference

    18941-image.png

    Steps: Quickly test this REST API via Postman

    Generate the API token from your IoT Central Portal: you can also read this generated token via the REST API call

    18855-image.png

    Make use of Postman PUT call to add the user.

    18866-image.png

    18904-image.png


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.