Skip to primary content
Skip to secondary content

server1.dk

Tech Tips

server1.dk

Main menu

  • Home

Tag Archives: app registration

Create secret with Powershell for Azure App registration

Posted on May 2, 2022 by Henrik
Reply
$startDate = Get-Date
$endDate = $startDate.AddYears(80)
$ObjectID = "132645645-d39e-4658-ab92-306cbb637421"
$Name = "SecretName"
Connect-AzureAD
$aadAppsecret01 = New-AzureADApplicationPasswordCredential -ObjectId $ObjectID  -CustomKeyIdentifier $Name -StartDate $startDate -EndDate $endDate
$aadAppsecret01.value
Posted in Uncategorized | Tagged app registration, Azure, powershell | Leave a reply
Recommended by server1.dk

Tags

  • 32bit
  • aad
  • Active Directory
  • ad
  • app registration
  • array
  • Azure
  • azure ad
  • azure firewall
  • azure sql
  • bandwidth
  • cmd
  • costcenter
  • data lake
  • datalake
  • Exchange
  • Exchange 2016
  • Express route
  • gateway
  • hashtable
  • integer
  • keep alive
  • law
  • Log Analytics workspace
  • M365
  • network
  • ntttcp
  • phishing
  • policy
  • ports
  • power bi
  • powershell
  • public folder
  • remote
  • REST
  • rsat
  • security
  • sku
  • sql
  • SSL
  • string
  • tcp
  • windows
  • windows server
  • Windows Update

Recent Posts

  • Decode access tokens to see data December 30, 2022
  • Measure Azure Latency December 23, 2022
  • Force cancelation of subscription in Azure with REST call September 1, 2022

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Proudly powered by WordPress