Skip to content

Security & Compliance permission issue #6216

Open
@gitbpotalan

Description

@gitbpotalan

Description of the issue

Hello,

I've always been using this url https://raw.githubusercontent.com/microsoft/Microsoft365DSC/Dev/Modules/Microsoft365DSC/DSCResources/MSFT_/settings.json to retrieve the necessary permissions to export / import every component, but it's lacking permissions for Security & Compliance.
No API permission, no admin role, no role group.

Microsoft 365 DSC Version

V1.25.604.1

Which workloads are affected

Security & Compliance Center

The DSC configuration

https://raw.githubusercontent.com/microsoft/Microsoft365DSC/Dev/Modules/Microsoft365DSC/DSCResources/MSFT_SCAutoSensitivityLabelPolicy/settings.json

Verbose logs showing the problem

EN CLAIR : [1/1] Extracting [SCAutoSensitivityLabelPolicy] using {CertificateThumbprint}...❌
EN CLAIR : ⌛ Export took {9 seconds} for {0 instances}

Environment Information + PowerShell Version

OsName               : Microsoft Windows Server 2022 Datacenter
OsOperatingSystemSKU : DatacenterServerEdition
OsArchitecture       : 64-bit
WindowsVersion       : 2009
WindowsBuildLabEx    : 20348.1.amd64fre.fe_release.210507-1500
OsLanguage           : en-US
OsMuiLanguages       : {en-US, fr-FR}

Key   : PSVersion
Value : 5.1.20348.2849
Name  : PSVersion

Key   : PSEdition
Value : Desktop
Name  : PSEdition

Key   : PSCompatibleVersions
Value : {1.0, 2.0, 3.0, 4.0...}
Name  : PSCompatibleVersions

Key   : BuildVersion
Value : 10.0.20348.2849
Name  : BuildVersion

Key   : CLRVersion
Value : 4.0.30319.42000
Name  : CLRVersion

Key   : WSManStackVersion
Value : 3.0
Name  : WSManStackVersion

Key   : PSRemotingProtocolVersion
Value : 2.3
Name  : PSRemotingProtocolVersion

Key   : SerializationVersion
Value : 1.1.0.1
Name  : SerializationVersion

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions