---
title: "Update Core role license files"
slug: "update-core-role-license-files"
abstract: ""
---
# Update Core role license files

| Applies to | All Core roles |
| --- | --- |

To update the license file used by a Core role, replace the `license.xml` file in the `App_Data` folder with a valid license file.

> [!note]
> If your license has expired, you must also [update the XP Service role license files](https://doc.sitecore.com/xp/en/developers/91/platform-administration-and-architecture/update-xp-service-role-license-files.html "Update XP service role license files").