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:
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.
Hello.
I used a automation script and I filled this code
in my IntunePfxImport.psd1.
In documentation is:
In Entra ID registred application I added
DeviceManagementConfiguration.ReadWrite.AllandUser.Read.Allas Application type.But the
Set-IntuneAuthenticationTokenstill ask for admin username and password.Do I something wrong?
Thanks in advance for any help.