Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSFT_AADIdentityAPIConnector permissions not set in settings.json #5670

Open
martincaddick opened this issue Jan 24, 2025 · 0 comments · May be fixed by #5849
Open

MSFT_AADIdentityAPIConnector permissions not set in settings.json #5670

martincaddick opened this issue Jan 24, 2025 · 0 comments · May be fixed by #5849

Comments

@martincaddick
Copy link
Contributor

Description of the issue

[2025/01/25 08:13:18]
{InvalidOperation}
System.Exception: [AADB2C] : The application does not have any of the required application permissions (APIConnectors.Read.All, APIConnectors.ReadWrite.All) to access the resource. 
"Error during Export:"
at Get-MgBetaIdentityApiConnector<Process>, C:\Program Files\WindowsPowerShell\Modules\Microsoft.Graph.Beta.Identity.SignIns\2.25.0\exports\ProxyCmdletDefinitions.ps1: line 1867
at Export-TargetResource, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.24.1211.1\DSCResources\MSFT_AADIdentityAPIConnector\MSFT_AADIdentityAPIConnector.psm1: line 646
at Start-M365DSCConfigurationExtract, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.24.1211.1\Modules\M365DSCReverse.psm1: line 682
at Export-M365DSCConfiguration, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.24.1211.1\Modules\M365DSCUtil.psm1: line 1458

Microsoft 365 DSC Version

1.25.122.1

Which workloads are affected

Azure Active Directory (Entra ID)

The DSC configuration

Verbose logs showing the problem

Environment Information + PowerShell Version

@FabienTschanz FabienTschanz linked a pull request Feb 27, 2025 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant