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 revision | |||
| public:providing_limited_mailbox_access_to_an_entra_application [2026/11/05 13:29] – thomas | public:providing_limited_mailbox_access_to_an_entra_application [2026/11/05 13:47] (current) – thomas | ||
|---|---|---|---|
| Line 36: | Line 36: | ||
| # 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.txt · Last modified: by thomas
