Hi @Tahir Mustafa ,
Ye can use the SharePoint URL to derive a REST API web address that will be suffixed with listdata.svc. It is important that we get a *listdata.svc URL as we will need it for establishing connection to the SharePoint list using the REST API in an SSIS package. What worked for me in terms of deriving the *listdata.svc URL was appending /_vti_bin/listdata.svc just after the site name in the above SharePoint list URL such that it becomes the following:
https://mydomain.sharepoint.com/sites/SPSDemo/_vti_bin/listdata.svc/
Here is a tutorial about connecting to SharePoint, you may take a reference to see if you have miss any steps.
https://www.sqlshack.com/how-to-configure-odata-ssis-connection-for-sharepoint-online/
Regards,
Zoe Hui
If the answer is helpful, please click "Accept Answer" and upvote it.