What is the correct replacement URL for connect-pnpmicrosoftgraph?Īlthough I am getting this error when I update the module + CategoryInfo : NotSpecified: (:), RequestFailedException + Connect-PnPOnline -url "" -AppId "xxxx. So I tried, but get this error Connect-PnPOnline : Token request failed. + FullyQualifiedErrorId : System.UriFormatException.ConnectOnline + CategoryInfo : NotSpecified: (:), UriFormatException + Connect-PnPOnline -url "" -AppId "xxxxxxx-xxx. I've tried, but get an error Connect-PnPOnline : Invalid URI: The format of the URI could not be determined. But I'm at a loss as to what I'm supposed to use here. Upon further investigation, it appears that AADDomain is incorrect and that I should be using url. + FullyQualifiedErrorId : System.ArgumentNullException.ConnectOnline + CategoryInfo : NotSpecified: (:), ArgumentNullException + $conn = connect-pnponline -AppId $appid -AppSecret $client_secret -AA. When I look at the details of Connect-PnPOnline with Microsoft Graph using Azure Active Directory, I see the same parameters, but running this throws an errorĬonnect-pnponline : Value cannot be null. $conn = connect-pnpmicrosoftgraph -AppId $appid -AppSecret $client_secret -AADDomain "" -Verbose I have found that connect-pnponline is it's replacement but I'm having trouble connecting. Now I'm getting a warning that connect-pnpmicrosoftgraph has been deprecated and will be removed in April 2018. I recently updated the SharePointPnPPowerShell assemblies to version. I have a script that creates an Office 365 group and the associated SharePoint site using PnP PowerShell.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |