Add authentication and application management scripts for Azure AD
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
const execSync = require('child_process').execSync;
|
||||
const { config } = require('../config.js');
|
||||
import { execSync } from 'child_process';
|
||||
import { config } from '../config.js';
|
||||
|
||||
// Get the Azure AD application ID by name
|
||||
const appId = execSync(`az ad app list --query "[?displayName=='${config.appName}'].appId" -o tsv`).toString().trim();
|
||||
|
||||
Reference in New Issue
Block a user