github / github/copilot-cli

"security policy is preventing access" when trying to accept EULA with Work IQ

Open
#1,162 0 comments 0 reactions 0 assignees View on GitHub
area:authentication area:plugins
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### Describe the bug

I'm following the documentation to install the WorkIQ plugin in CLI (https://learn.microsoft.com/en-us/microsoft-365-copilot/extensibility/workiq-overview). I install the plugin:

```bash
/plugin marketplace add github/copilot-plugins
```

Then I ask a question to the CLI about checking my Teams channel. The CLI answers:

```bash
It sounds like I'll need to accept an EULA for this tool.
```

The browser opens-up, asks me to login, but when I select my account, I have a

```text
Sorry, a security policy is preventing access"

An organisation security policy requiring token protection is preventing this application from accessing the resource. You may be able to use a different application.

Error Code: 530084
App name: Work IQ CLI
Device platform: macOS
Device state: Compliant
```

### Affected version

v0.0.396

### Steps to reproduce the behavior

_No response_

### Expected behavior

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.