[
	{
		"id": "spo_license_missing",
		"api_code": "BadRequest",
		"description": "Tenant does not have a SPO license.",
		"resolution": "This usually appears when the Microsoft 365 tenant linked to your Azure AD app does not include SharePoint Online.<br />• If you use only a free Azure AD (or developer) account without a Microsoft 365 / Office 365 subscription that includes SharePoint, Graph calls to SharePoint will fail with this message.<br />• Use a tenant that has SharePoint Online (for example Microsoft 365 Business Standard, E3/E5 trial, or SharePoint Plan) or connect OneDrive Personal if that matches your scenario.<br />• In Azure / Microsoft 365 admin center, verify the tenant has SharePoint enabled and a valid license assignment.<br />• More context: <a href=\"https://www.microsoft.com/microsoft-365/microsoft-365-enterprise\" target=\"_blank\" rel=\"noopener noreferrer\">Microsoft 365 plans (overview)</a>"
	},
	{
		"id": "access_denied_sharepoint_sites",
		"api_code": "Access Denied",
		"description": "Insufficient permissions to fetch the SharePoint sites.",
		"resolution": "Generally this issue occurs if you have not granted <strong>Sites.Read.All</strong> or equivalent site read permissions to your configured application in Microsoft Azure AD / Entra ID.<br />• In Azure Portal → App registrations → your app → API permissions, add the Microsoft Graph permissions required for your connection type (often including SharePoint site access), then use <strong>Grant admin consent</strong> for the tenant.<br />• After saving, run Test Configuration again.<br />• <a href=\"https://plugins.miniorange.com/microsoft-sharepoint-integration-for-wordpress?type=manual#stepa\" target=\"_blank\" rel=\"noopener noreferrer\">Setup guide: API permissions and manual connection</a>"
	}
]
