Last week, while working on a digital product called “Create SharePoint list and columns dynamically from an Excel file using Power Automate“, I needed to automatically create an Image column in a SharePoint Online list.
Normally, we can manually create an Image column from the SharePoint list settings. However, in automated provisioning solutions, especially when generating SharePoint lists and columns dynamically from Excel or JSON configurations, we may need to create the Image column programmatically using the REST API.
After some research, I found that SharePoint Online internally stores the Image column as a Thumbnail field type. Using the Send an HTTP request to SharePoint action in Power Automate, we can create the Image column dynamically by using the CreateFieldAsXml REST API endpoint.
In this tutorial, I will explain step by step how to create an Image column in a SharePoint Online list using the Power Automate REST API.
Create an Image Column in SharePoint List Using Power Automate REST API
Now, let’s see how to create an Image column in a SharePoint list using the Send an HTTP request to SharePoint action.
For this example, I have a SharePoint list named:
Employee Birthday

Now, I want to create an Image column named:
Employee Photo
To create the Image column, follow the steps below:
- Go to Power Automate.
- Select Create and then choose Instant cloud flow.
- Enter a flow name, such as:
Create Image Column in SharePoint List

- Select the Manually trigger a flow trigger and click Create.
- Next, add the SharePoint action: Send an HTTP request to SharePoint
- In the Send an HTTP request to SharePoint action, provide the information below.
- Site Address: Select your SharePoint site address.
- Method: POST
- Uri:
_api/web/lists/GetByTitle('Employee Birthday')/Fields/CreateFieldAsXml
- Headers:
{
"Accept": "application/json;odata=verbose",
"Content-Type": "application/json;odata=verbose"
}
- Body:
{
"parameters": {
"__metadata": {
"type": "SP.XmlSchemaFieldCreationInformation"
},
"SchemaXml": "<Field Type='Thumbnail' DisplayName='Employee Photo' Name='EmployeePhoto' StaticName='EmployeePhoto' />",
"Options": 0
}
}

After configuring the action, save the flow, then click Test.
Then run the flow manually.
Once the flow runs successfully, go to the Employee Birthday SharePoint list and open List Settings.
Under the Columns section, you can see the newly created Image column named: Employee Photo

Now users can upload images directly into the SharePoint list item form.
Conclusion
This is how we can create an Image column in a SharePoint Online list using the Power Automate REST API.
In this tutorial, we used the Send an HTTP request to SharePoint action along with the CreateFieldAsXml REST API endpoint to dynamically create the Image column.
You may also like:
- Power Automate saves email attachment to SharePoint
- Delete all files in a SharePoint folder using Power Automate
- Send an Approval to a Microsoft 365 Group in Power Automate
- Send Approval to SharePoint Group Members Using Power Automate
- Copy List Items To Another List In SharePoint Using Power Automate

Hey! I’m Bijay Kumar, founder of SPGuides.com and a Microsoft Business Applications MVP (Power Automate, Power Apps). I launched this site in 2020 because I truly enjoy working with SharePoint, Power Platform, and SharePoint Framework (SPFx), and wanted to share that passion through step-by-step tutorials, guides, and training videos. My mission is to help you learn these technologies so you can utilize SharePoint, enhance productivity, and potentially build business solutions along the way.