It seems like you are encountering an issue where the MailFolder_v2
dataset is not visible in your Microsoft 365 Linked Service, despite the documentation suggesting that it should be available :
- Dataset Availability: The availability of certain datasets, like
MailFolder_v2
, can sometimes depend on the version of the API or service you're using. Make sure you're using the most up-to-date version of the Microsoft Graph API in your ADF configuration. - Permissions Check: Even though you've confirmed the necessary permissions, double-check that your app registration (used in the ADF Linked Service) has the correct Microsoft Graph permissions. The permissions required for
MailFolder_v2
may differ slightly fromMailFolder_v0
, especially for shared mailboxes. Make sure permissions likeMail.Read.Shared
,Mail.ReadBasic
, orMail.Read
are included and consented by an administrator. - Service Principal Issues: If you’re using service principals to authenticate, ensure that the service principal has access to shared mailboxes. Sometimes, shared mailbox access is restricted to user-based authentication, which might cause issues in displaying the correct datasets in ADF.
- Review Documentation/Updates: Sometimes, dataset availability can change based on updates to the ADF integration with Microsoft 365. Double-check recent Microsoft Graph and ADF release notes to confirm that there are no limitations or issues with
MailFolder_v2
in shared mailbox scenarios. - Dataset Visibility Configuration: There might be a configuration issue preventing
MailFolder_v2
from showing up in your linked service. You can try removing and re-adding the linked service in ADF to see if that triggers the visibility of the dataset.
If none of these solutions work, it could be worth reaching out to Microsoft support to confirm if there are any ongoing issues or undocumented requirements with accessing the MailFolder_v2
dataset in the M365 Linked Service.