Skip to content

Latest commit

 

History

History
39 lines (33 loc) · 732 Bytes

File metadata and controls

39 lines (33 loc) · 732 Bytes
description Automatically generated file. DO NOT MODIFY
const options = {
	authProvider,
};

const client = Client.init(options);

const crossTenantAccessPolicyConfigurationPartner = {
  tenantRestrictions: {
    usersAndGroups: {
      accessType: 'allowed',
      targets: [
        {
          target: 'AllUsers',
          targetType: 'user'
        }
      ]
    },
    applications: {
      accessType: 'allowed',
      targets: [
        {
          target: 'Office365',
          targetType: 'application'
        }
      ]
    }
  }
};

await client.api('/policies/crossTenantAccessPolicy/partners/90e29127-71ad-49c7-9ce8-db3f41ea06f1')
	.update(crossTenantAccessPolicyConfigurationPartner);