Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This guide explains how to configure the open-source QGIS desktop GIS software to access geospatial datasets from the Microsoft Planetary Computer Pro GeoCatalog using Microsoft Entra ID authentication.
QGIS enables direct interaction with STAC collections in Microsoft Planetary Computer Pro. With QGIS, you can visualize, analyze, and style data on the fly, and integrate it with local layers from Azure.
All GeoCatalog assets can be downloaded to your desktop. Assets in Cloud Optimized GeoTIFF (COG) or Cloud Optimized Point Cloud (COPC) format stream directly.
Configuration consists of two parts:
Registering the Microsoft Entra application is a one-time task for your tenant. After registration, users enter the Application (client) ID and Directory (tenant) ID in QGIS to set up the STAC connection.
Prerequisites
Microsoft Entra App registrations
- Access to a Microsoft Entra ID tenant
- Azure subscription where your identity has one of these roles: Application Developer, Cloud Application Administrator, or Application Administrator.
QGIS STAC connection
- Download and install QGIS Developer (
qgis-dev) on your desktop machine
Note
This feature is available only in the QGIS nightly builds until the release of QGIS 4.0
- GeoCatalog Reader or GeoCatalog Administrator role-based access controls.
- Microsoft Planetary Computer Pro GeoCatalog deployment that contains at least one collection.
Register the Microsoft Entra application for QGIS
Tip
Review Register an application in Microsoft Entra ID for background information on app registration.
Register QGIS as an application in Microsoft Entra ID and grant it delegated permissions so it can act on behalf of the signed-in user.
In the Azure portal, go to Microsoft Entra ID > App registrations > New registration:
Register the application
- Enter a descriptive name for the application.
- For supported account types, select the tenant option your organization uses (single tenant or multitenant only).
- Under Redirect URI, choose Public client/native (mobile & desktop) and set the URI to
http://localhost:7070. - Select Register.

Configure API permissions
Configure delegated API permissions:
In the app registration, select API permissions > Add a permission.
Select APIs my organization uses, search for
Azure Orbital Spatio, and pick the service to open the permission dialog.In Request API permissions, select Delegated permissions, check user_impersonation, and then select Add permissions to grant the scope.
Reviewing the Application and Directory IDs
Return to Overview and record the Application (client) ID and Directory (tenant) ID. You need to enter them in QGIS later to configure the STAC connection.
Configure QGIS for GeoCatalog access
A STAC catalog in QGIS is a browsable data source. It exposes hierarchical STAC metadata (catalog → collection → item → asset) instead of a single static file. When you expand nodes, QGIS issues live API requests to the GeoCatalog STAC endpoint so you always see the latest collections and items in your GeoCatalog.
Create the STAC connection
Create the STAC connection inside QGIS by following these steps:
- In the Browser panel, expand STAC to view the connection menu.
- Right-click STAC and select New STAC Connection to open the configuration dialog.

Configure STAC connection authentication
- In the "Name" field, name this connection.
- Enter the URL of your GeoCatalog and add the STAC API path by appending
/stacto the URL. - Select the plus (+) button to configure the authentication.

STAC connection authentication configuration
Select Planetary Computer Pro from the "Server type" drop-down.

Enter the following information into the text boxes:
- A name for the authentication settings
- GeoCatalog URL
- Application and Directory ID
Once these settings are complete, your GeoCatalog is configured for access through the QGIS STAC connection.
Using the QGIS STAC connection
To browse the collections, select your GeoCatalog in the data layer browser, and expand it.
Once you expand, QGIS will redirect you to a web browser to authenticate with Microsoft Entra. Complete the authentication process for your organization to continue.
Tip
If your GeoCatalog has zero STAC Collections, you see a Host requires authentication error. To resolve this error, create a STAC Collection.
Continue to expand the collections until you locate a STAC Item. To visualize this item, select the item and drag it to the map view. If the data is a Cloud Optimized GeoTIFF (COG) or Cloud Optimized Point Cloud (COPC), it automatically imports and projects onto the map.
STAC search and filtering
If you want to search for data or run a STAC filter in your catalog, the STAC API is exposed through the Layer manager.
On the Layer menu, select Add Layer > Add Layer from STAC Catalog.

Select your STAC connection to the GeoCatalog, and then select Connect.

Choose the index you want to filter on. You can filter on spatial, temporal, or collection extent.

Select the item to add it to the map extent or download the assets directly to your local machine. If you hover over the item, the spatial extent previews on the map canvas in red.









