Skip to content

Bug report: Command Completion does not seem to work in PoSh 5, it does in PoSh 7 though. #3394

@martinlingstuyl

Description

@martinlingstuyl

Description

Using the help section here I configured Auto completion. But I can't get it to work on PoSh 5. While on PoSh 7 it works like a glove.

The $profile files all contain the right content referring to the right Register-CLIM365Completion.ps1 file. No error is thrown on registering or on autocompleting, it just does not work.

Steps to reproduce

Follow the manual on PoSh 5

Expected results

Like it says in the manual

Actual results

Nothing. No feedback, no results.

Diagnostics

No response

CLI for Microsoft 365 version

5.4.0 (next)

nodejs version

16.15.0

Operating system (environment)

Windows

Shell

PowerShell

cli doctor

No response

Additional Info

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions