Comments (1)
First, the function can return only on access token, which in this case is for graph.windows.net. But you can use -SaveToCache switch to get tokens also for Outlook and Teams to be saved to the cache.
Second, seems that your organisation has conditional access policies in place blocking devices that are non-compliant. And the "device" here is referring to the deviceid claim of the access token. If it does not exists, the device is always non-compliant. And you can't get the deviceid claim using device code authentication method.
You can use Read-AADIntAccessToken to see the claims.
from aadinternals.
Related Issues (20)
- Dependencies - List HOT 1
- Install getting blocked by AV HOT 1
- Get MFA token HOT 1
- Allow suppression of import-module message HOT 2
- Add Support for SQL(Express) for Get-AADIntSyncCredentials HOT 1
- Authentication issue after updating to 0.9.1 HOT 3
- Support AAD device token flows
- aadsync_client_build = 1.5.29.0 broken
- Cannot login to tenant with Get-AADIntAccessTokenForAADGraph HOT 1
- Does AADInternals works in macOS?
- Incompatible parameter sets in Open-AADIntOffice365Portal
- KeySignTest : FAILED (transport key) HOT 1
- AccessToken_utils.ps1 - ConvergedProofUpRedirect HOT 1
- Create-LoginForm
- Open-AADIntOWA - Windows.Forms.Form and Clear-WebBrowser
- get-aadintaccesstokenForAADgraph: Error You cannot call a method on a null-valued expression. HOT 2
- 2 bugs in New-AADIntP2PDeviceCertificate, function seems currently broken
- Get-AADIntAccessToken not working anymore HOT 1
- Cannot install AADInternals on Mac because Bitdefender finds virus HOT 1
- Microsofts flags this library as containing BACK DOORs in certain ps1 files! HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aadinternals.