Skip to content

Authetication as application #159

@rezabj

Description

@rezabj

Hello.

I used a automation script and I filled this code

PrivateData = @{
    AuthURI = "login.microsoftonline.com"
    GraphURI = "https://graph.microsoft.com"
    SchemaVersion = "beta"
    ClientId = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
    TenantId = "YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY"
    ClientSecret = "<Client Secret>"
    }

in my IntunePfxImport.psd1.

In documentation is:

Image

In Entra ID registred application I added DeviceManagementConfiguration.ReadWrite.All and User.Read.All as Application type.

But the Set-IntuneAuthenticationToken still ask for admin username and password.

Do I something wrong?

Thanks in advance for any help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions