Why do I only get user's ID when I try to load from SharePoint all his personal informations into SQL using SSIS?

Pinto Raminhos, Tiago Filipe 1 Reputation point

I'm trying to load values from Sharepoint 2019 to SQL using SSIS.

I have users in my list and I'm trying to read them.

But when I load them into my SQL using SSIS, it only loads me the ID and not the entire user with his informations (name, mail, etc.)

So I tried to load them like this :

I'm using OData Source to load those values and inside the Workflow's URL I put this URL that contains my values as a XML :

When I access to this URL with my browsers I see all my information (users with mail, name, etc.) but it is when I load it into SSIS there's only the Requestor's ID.

What am I doing wrong ?

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,520 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,800 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. CaseyYang-MSFT 10,341 Reputation points

    Hi @Pinto Raminhos, Tiago Filipe ,

    Did you create some Inputs and Outputs with mappings for those columns(name, mail, etc.)? And those columns should be created in your SharePoint 2019 list before you load this list into SQL. Then you have to write codes to fetch the item from the list and insert into table.

    Here is a article about How to Load Data To A SQL Table From SharePoint List Using SSIS step by step for reference.
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.

    If an Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.