Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 533 Bytes

File metadata and controls

24 lines (19 loc) · 533 Bytes
description Automatically generated file. DO NOT MODIFY
Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement

$params = @{
	displayName = "Token 1"
	serialNumber = "TOTP123456"
	manufacturer = "Contoso"
	model = "Hardware Token 1000"
	secretKey = "6PJ4UKIW33NNXYZAEHQNFUFTZF7WFTFB"
	timeIntervalInSeconds = 30
	hashFunction = "hmacsha1"
	assignTo = @{
		id = "0cadbf92-####-####-####-############"
	}
}

New-MgBetaDirectoryAuthenticationMethodDeviceHardwareOathDevice -BodyParameter $params