Please note that currently this app does not support self-hosted versions.
Azure Repos is a private Git repository cloud hosting that supports Team Foundation Version Control (TFVC).
Configuration
If you're getting errors when configuring the app, please check the Known issues section containing solutions for common problems.
Open your Azure DevOps project and open Project settings in the bottom left corner.
Find Azure DevOps services section and enable the Repos service.
Now after refreshing the page, you should see the Repos tab in the left menu. Here you can add your project source code as usual.
Open your organization settings, proceed to Policies (under Security section) and enable the Third-party application access via OAuth option.
Now proceed to Lokalise, open your translation project, and go to Apps. Open the Azure Repos app and click Install.
Click Connect and follow the Microsoft Entra ID authorization process. Sign in with the Microsoft work or school account you use for Azure DevOps and grant Lokalise the requested permissions. If you'd like to use a personal access token from a different account, please follow the steps listed below.
Now enter your repository name (prefixed with your organization name, and project name, Organization/Project/Repo) and a branch to use. Provide one or more platforms to include in exports.
Also decide whether you would like the filenames to include a full path. It is not needed in most cases, as you can configure the directory structure prefix at the pull request creation (export) step. However, when you have similar files in different subfolders, e.g. admin/locale.json and frontend/locale.json, you have to enable the Include path in the filenames option. Keep in mind that if you already have files uploaded to the project, including a path in the filenames at this step would mean that you are uploading different files.
Click Select files to pull.
Choose one or more translation files and adjust the detected languages as needed. Once you are ready, click Confirm.
As we recommend keeping all platform files within the same project, you may want to set up other repositories that apply to the same project. Click Add another repo to add more repositories.
Reconnecting Azure Repos
Microsoft is retiring the legacy Azure DevOps OAuth authentication method in 2026. Lokalise is moving Azure Repos connections to Microsoft Entra ID to support the updated authentication requirements.
New Azure Repos connections use Microsoft Entra ID authentication. Existing connections authorized through Azure DevOps OAuth can continue working until Microsoft disables the legacy authentication method.
If you have an existing connection, we recommend reconnecting it to avoid interruptions to file synchronization.
For more information, see Microsoft's Azure DevOps OAuth deprecation announcement.
How to reconnect
To update an existing Azure Repos connection:
Open your Lokalise project and go to Apps > Azure Repos.
Find the connection you want to update and click Reconnect.
Click Reconnect again in the confirmation dialog.
Sign in with the Microsoft work or school account you use to access Azure DevOps.
Complete the Microsoft authorization process.
Return to Lokalise and click Save.
Your existing repository, branch, selected files, and connection options are preserved. You don't need to remove and recreate the connection.
Important: Connections using the legacy authentication method display the following warning in their settings: "This connection was authorized with Azure DevOps OAuth, which Microsoft is retiring."
Once Microsoft disables Azure DevOps OAuth, connections that haven't been reconnected will stop pulling and pushing content. Their Logs will display: "This Azure Repos connection was authorized with Azure DevOps OAuth, which is no longer supported. Reconnect it to keep syncing."
If you encounter this error, follow the steps above to reconnect using Microsoft Entra ID.
Authentication requirements and troubleshooting
Personal Microsoft accounts
The new Microsoft Entra ID authentication flow currently supports work or school accounts only.
Personal Microsoft accounts cannot be used to authorize Azure Repos connections through this flow. This is a limitation of Microsoft's authentication support for Azure DevOps, not a restriction introduced by Lokalise.
Microsoft is working on supporting personal accounts through Microsoft Entra ID.
Administrator approval
Depending on your organization's Microsoft Entra ID settings, an administrator may need to approve Lokalise before you can connect.
In this case, you'll see the following message: "An administrator of your Microsoft organization has to approve Lokalise before you can connect."
Contact your Microsoft Entra administrator and request approval for the Lokalise application. Once access is approved, try connecting again.
Sign-in errors
If Microsoft authentication fails, the error details may include a Microsoft error code and a trace ID.
Contact Lokalise support and provide both values so the team can investigate the issue.
Pulling files
Manual pull
Click Pull now to import translation files from your repo to Lokalise. Clicking this button will add the pull to the system queue to be executed in the background. You can check the process status by clicking More > Activity:
Alternatively, click Logs on the Azure app page:
If you need to adjust the options, click Pull options on the app page:
These options are similar to the ones presented on the Upload page.
Auto-pull
When you are satisfied with the initial pull results, it is a good idea to set up a webhook which automates pulling the changes to Lokalise as you push to your Azure repo.
To set up the auto-pull feature, open your Azure DevOps project and click Project settings in the bottom left corner. Then proceed to Service hooks and click Create subscription:
Choose Web Hooks from the list and click Next:
Choose Code pushed as a trigger event.
Choose your repository from the list.
Optionally, specify a desired branch and a group.
Click Next and provide the following:
URL — insert the Auto-pull URL from app settings on Lokalise. Please note that currently we are in the process of migrating all auto-pull URLs from
app.lokalise.comtoapi.lokalise.comsubdomain. Thus, on the app's page you may still seeapp.lokalise.comspecified for the auto-pull URL but it is very much recommended to change it toapi.lokalise.comwhen pasting to Azure.HTTP header — be
X-Lokalise-Secret:{secret}, where{secret}is the Auto-pull secret from app settings on Lokalise.Provide other optional settings as needed.
Click Test to make sure your webhook works and then hit Finish to complete the setup.
Pull requests
If you're using project branching, keep in mind that app triggers can only be executed from the Lokalise master branch.
To export translation files from Lokalise to the Azure repo, you have to create a new pull request. To achieve that, proceed to the Download page, adjust export options as needed and make sure to enable the Azure Repos trigger:
Optionally, choose one or more repositories from the Filter repositories dropdown and provide a custom Commit message. It is a good idea to use the Preview button first, so you can see the resulting file/folder structure before triggering the creation of a pull request.
To actually create a pull request on Azure, you should press Build only (this way you won't download a translation bundle to your local PC). To check the status of the pull request creation, return to the Azure repos app page and click the Logs button.
Here is what happens after you trigger a new PR:
A new branch is created from the last revision of the branch you chose in the app setup. The branch name would look like this:
lokalise-2018-03-12_15-14-13.A commit with all the files is created in the new branch.
A pull request from the new branch to the previously chosen branch is created.
You may then review and merge a new pull request on Azure.
Known issues and special notes
Using token from a different account
If you need to use a different personal access token from Azure when setting up integration on Lokalise, please perform the following steps:
Make sure you log out from Azure first. If you don't do this, Lokalise will automatically fetch the personal access token of the currently logged in user.
If you are using Microsoft SSO on Lokalise, Azure will try to use the token of the SSO user. To overcome this problem you should log out from Microsoft after you've successfully logged into Lokalise.
Proceed to installing the Azure app on Lokalise as usual. Lokalise should redirect you to the Microsoft login page where you can choose any account on whose behalf you’d like to connect the Azure repo. In other words, you should see the following screen:















