Forum Discussion

KrisSub2023's avatar
KrisSub2023
Brass Contributor
Jul 21, 2023
Solved

Connect IPPSession with client ID and Secret is not working

Connect-IPPSession - We are not able to find any way to connect using the certificate (Client ID & Secret)

I'm trying to add my sharepoint sites within dlp policy via Azure Run books.

 How can i use connect-ippsession ?  definitely I can't store my credentials so do I need to use appid and certificate? in that case , please suggest me to generated the certificate thumb print.

 

Connect-IPPSSession -AppId <%App_id%> -CertificateThumbprint <%Thumbprint string of certificate%> -Organization "contoso.onmicrosoft.com"

  • This is resolved after i added with $Global:IsWindows = $true
    Connect-PnPOnline -Url $SiteURL -ClientId $ClientId -ClientSecret $ClientSecret -WarningAction Ignore
    Pls make sure that you updated the exchange online module

1 Reply

  • KrisSub2023's avatar
    KrisSub2023
    Brass Contributor
    This is resolved after i added with $Global:IsWindows = $true
    Connect-PnPOnline -Url $SiteURL -ClientId $ClientId -ClientSecret $ClientSecret -WarningAction Ignore
    Pls make sure that you updated the exchange online module

Resources