Skip to content

[BUG]Create Drive using Connect-pnpoline app only registration #4717

@NathanielB-Work

Description

@NathanielB-Work

Notice

Many bugs reported are actually related to the PnP Framework which is used behind the scenes. Consider carefully where to report an issue:

  1. Are you using Invoke-PnPSiteTemplate or Get-PnPSiteTemplate? The issue is most likely related to the Provisioning Engine. The Provisioning engine is not located in the PowerShell repo. Please report the issue here: https://github.com/pnp/pnpframework/issues.
  2. Is the issue related to the cmdlet itself, its parameters, the syntax, or do you suspect it is the code of the cmdlet that is causing the issue? Then please continue reporting the issue in this repo.
  3. If you think that the functionality might be related to the underlying libraries that the cmdlet is calling (We realize that might be difficult to determine), please first double check the code of the cmdlet, which can be found here: https://github.com/pnp/powershell/tree/master/src/Commands. If related to the cmdlet, continue reporting the issue here, otherwise report the issue at https://github.com/pnp/pnpframework/issues

Reporting an Issue or Missing Feature

I am trying to create a drive on my site using the parameter -Create Drive of the Connect-PNPOnline cmdlt. The PNP app in my tenant has been setup using App Only Access for GCC and I authenticate using the certificate thumbprint.

Expected behavior

I expect a drive to be created at the connected site with a default name of 'SPO'

Actual behavior

What actually happens is an error message is returned. that says "Input string was not in a correct format. Failure to parse near offset 25. Expected an ASCII digit." This only happens when I add the -createDrive parameter.
Image

Steps to reproduce behavior

Image

What is the version of the Cmdlet module you are running?

2.99.120 nightly

Which operating system/environment are you running PnP PowerShell on?

  • [X ] Windows
  • Linux
  • MacOS
  • Azure Cloud Shell
  • Azure Functions
  • Other : please specify

Any blacked out information is only for security reasons. Tenant info, thumbprint of the cert, or clientid of the application

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions