public:providing_limited_mailbox_access_to_an_entra_application
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| public:providing_limited_mailbox_access_to_an_entra_application [2026/11/05 13:28] – thomas | public:providing_limited_mailbox_access_to_an_entra_application [2026/11/05 13:47] (current) – thomas | ||
|---|---|---|---|
| Line 31: | Line 31: | ||
| < | < | ||
| # 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 = "< | $SecuredPassword = "< | ||
| - | $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 | + | $SecuredPasswordPassword = ConvertTo-SecureString -String $SecuredPassword -AsPlainText -Force |
| # Convert all parameters in a PSCredential object. | # Convert all parameters in a PSCredential object. | ||
| - | $ClientSecretCredential = New-Object | + | $ClientSecretCredential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $ApplicationId, |
| # 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
