public:providing_limited_mailbox_access_to_an_entra_application

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
public:providing_limited_mailbox_access_to_an_entra_application [2026/11/05 13:28] – thomaspublic:providing_limited_mailbox_access_to_an_entra_application [2026/11/05 13:47] (current) – thomas
Line 31: Line 31:
 <code> <code>
 # I first set a few parameters needed to connect. Set $SecuredPassword to the app registration secret token. # I first set a few parameters needed to connect. Set $SecuredPassword to the app registration secret token.
-$ApplicationId = "869f6562-6c87-441a-bd65-15a56d1bb407"+$ApplicationId = "FC5775A1-0970-4718-8011-4847FEF89666"
 $SecuredPassword = "<set your secret here>" $SecuredPassword = "<set your secret here>"
-$tenantID = "1da4383b-8064-4d80-ad26-7ee24a0ac477"+$tenantID = "A94B9837-0093-4CCF-AE2A-0A0F4EDC9593"
  
 # Convert the secret to a secure string. # Convert the secret to a secure string.
-$SecuredPasswordPassword = ConvertTo-SecureString `-String $SecuredPassword -AsPlainText -Force+$SecuredPasswordPassword = ConvertTo-SecureString -String $SecuredPassword -AsPlainText -Force
  
 # Convert all parameters in a PSCredential object. # Convert all parameters in a PSCredential object.
-$ClientSecretCredential = New-Object `-TypeName System.Management.Automation.PSCredential `-ArgumentList $ApplicationId, $SecuredPasswordPassword+$ClientSecretCredential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $ApplicationId, $SecuredPasswordPassword
  
 # Connect to Microsoft Graph using this credential. # Connect to Microsoft Graph using this credential.
public/providing_limited_mailbox_access_to_an_entra_application.1793885308.txt.gz · Last modified: by thomas

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki