<?xml version="1.0"?>
<rss version="2.0"><channel><title>API Latest Topics</title><link>https://community.citrix.com/forums/forum/1512-api/</link><description>API Latest Topics</description><language>en</language><item><title>PVS Target Device Metrics</title><link>https://community.citrix.com/forums/topic/253722-pvs-target-device-metrics/</link><description><![CDATA[<p>
	When looking at a PVS VDI Session, there's a section called "PVS Target Device Metrics"<br>
	<br>
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/m329563/monthly_2025_03/image.png.0113daf1b426fe3806dd6ee21329125b.png" data-fileid="38210" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="38210" width="1000" alt="image.thumb.png.09ca7e481057c970c421983a550a7d22.png" src="//media.invisioncic.com/m329563/monthly_2025_03/image.thumb.png.09ca7e481057c970c421983a550a7d22.png" loading="lazy" height="130"></a><br>
	<br>
	Is any of this information available through the API?  Trying to see if I can pull the Write Cache Information via a powershell script to make a report.<br>
	<br>
	Thanks,<br>
	Shaun
</p>
]]></description><guid isPermaLink="false">253722</guid><pubDate>Fri, 28 Mar 2025 14:29:15 +0000</pubDate></item><item><title>Citrix Monitor Service API</title><link>https://community.citrix.com/forums/topic/258560-citrix-monitor-service-api/</link><description><![CDATA[<p>Hi everyone,<br><br>I'm trying to send a sql request to identify the sessions  which are terminated by a proper logoff with the auto terminated sessions <br>I m kind lost in all the variables available.<br><br>Please help me thanks</p>]]></description><guid isPermaLink="false">258560</guid><pubDate>Mon, 03 Nov 2025 16:03:00 +0000</pubDate></item><item><title>Fetch DaaS License expiry dates using Citrix API calls</title><link>https://community.citrix.com/forums/topic/253718-fetch-daas-license-expiry-dates-using-citrix-api-calls/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	We have an active Citrix DaaS account with valid cloud licenses, and I am looking to fetch the <strong>License expiry dates via Citrix API call</strong>s.
</p>

<p>
	<strong>Tests done so far:</strong>
</p>

<p>
	I used the article (<a href="https://developer-docs.citrix.com/en-us/citrix-cloud/citrix-cloud-licensing/getting-started-with-citrix-cloud-licensing-apis" rel="external nofollow">Getting started with Citrix cloud licensing APIs | Citrix Cloud Licensing</a>), and get license details, result is shown below:
</p>

<p>
	<span style="font-size:12pt;"><span style="font-family:Aptos, sans-serif;"><span style="font-size:11pt;"><span style="font-family:Consolas;">{</span></span></span></span>
</p>

<p>
	<span style="font-size:12pt;"><span style="font-family:Aptos, sans-serif;"><span style="font-size:11pt;"><span style="font-family:Consolas;">    "customerId": "xxxxxxxxxxxxx",</span></span></span></span>
</p>

<p>
	<span style="font-size:12pt;"><span style="font-family:Aptos, sans-serif;"><span style="font-size:11pt;"><span style="font-family:Consolas;">    "totalUsageCount": 0,</span></span></span></span>
</p>

<p>
	<span style="font-size:12pt;"><span style="font-family:Aptos, sans-serif;"><span style="font-size:11pt;"><span style="font-family:Consolas;">    "userLicenseUsage": {</span></span></span></span>
</p>

<p>
	<span style="font-size:12pt;"><span style="font-family:Aptos, sans-serif;"><span style="font-size:11pt;"><span style="font-family:Consolas;">        "totalUsageCount": 0,</span></span></span></span>
</p>

<p>
	<span style="font-size:12pt;"><span style="font-family:Aptos, sans-serif;"><span style="font-size:11pt;"><span style="font-family:Consolas;">        "releasedCount": 0</span></span></span></span>
</p>

<p>
	<span style="font-size:12pt;"><span style="font-family:Aptos, sans-serif;"><span style="font-size:11pt;"><span style="font-family:Consolas;">    },</span></span></span></span>
</p>

<p>
	<span style="font-size:12pt;"><span style="font-family:Aptos, sans-serif;"><span style="font-size:11pt;"><span style="font-family:Consolas;">    "deviceLicenseUsage": {</span></span></span></span>
</p>

<p>
	<span style="font-size:12pt;"><span style="font-family:Aptos, sans-serif;"><span style="font-size:11pt;"><span style="font-family:Consolas;">        "totalUsageCount": 0,</span></span></span></span>
</p>

<p>
	<span style="font-size:12pt;"><span style="font-family:Aptos, sans-serif;"><span style="font-size:11pt;"><span style="font-family:Consolas;">        "releasedCount": 0</span></span></span></span>
</p>

<p>
	<span style="font-size:12pt;"><span style="font-family:Aptos, sans-serif;"><span style="font-size:11pt;"><span style="font-family:Consolas;">    },</span></span></span></span>
</p>

<p>
	<span style="font-size:12pt;"><span style="font-family:Aptos, sans-serif;"><span style="font-size:11pt;"><span style="font-family:Consolas;">    "totalAvailableLicenseCount": 0,</span></span></span></span>
</p>

<p>
	<span style="font-size:12pt;"><span style="font-family:Aptos, sans-serif;"><span style="font-size:11pt;"><span style="font-family:Consolas;">    "remainingLicenseCount": 0,</span></span></span></span>
</p>

<p>
	<span style="font-size:12pt;"><span style="font-family:Aptos, sans-serif;"><span style="font-size:11pt;"><span style="font-family:Consolas;">    "timeStamp": "2025-03-25T11:06:20.7740709Z",</span></span></span></span>
</p>

<p>
	<span style="font-size:12pt;"><span style="font-family:Aptos, sans-serif;"><span style="font-size:11pt;"><span style="font-family:Consolas;">    "productName": "XenDesktop",</span></span></span></span>
</p>

<p>
	<span style="font-size:12pt;"><span style="font-family:Aptos, sans-serif;"><span style="font-size:11pt;"><span style="font-family:Consolas;">    "nextExpiredLicenses": null,</span></span></span></span>
</p>

<p>
	<span style="font-size:12pt;"><span style="font-family:Aptos, sans-serif;"><span style="font-size:11pt;"><span style="font-family:Consolas;">    "nextActivatingLicense": null,</span></span></span></span>
</p>

<p>
	<span style="font-size:12pt;"><span style="font-family:Aptos, sans-serif;"><span style="font-size:11pt;"><span style="font-family:Consolas;">    "productEdition": "XAXDFull",</span></span></span></span>
</p>

<p>
	<span style="font-size:12pt;"><span style="font-family:Aptos, sans-serif;"><span style="font-size:11pt;"><span style="font-family:Consolas;">    "isDomainTruncated": false</span></span></span></span>
</p>

<p>
	<span style="font-size:12pt;"><span style="font-family:Aptos, sans-serif;"><span style="font-size:11pt;"><span style="font-family:Consolas;">}</span></span></span></span>
</p>

<p>
	<strong><u>Issue 1:</u> The API call is showing zero "totalAvailableLicenseCount", whereas in the Citrix Cloud GUI we have available licenses.</strong>
</p>

<p>
	<strong><u>Query:</u> I need the License expiry dates via API calls, which is showing as Null. Infact the whole result is showing null and full or zeros.</strong>
</p>

<p>
	Note: The URL (<a href="https://citrix.cloud.com/cloud-license/cloud-services/xendesktop?products=xendesktopccu" rel="external nofollow">https://citrix.cloud.com/cloud-license/cloud-services/xendesktop?products=xendesktopccu</a>) - Shows me valid licenses, but it does not show in API call result.
</p>

<p>
	I am looking forwards for some tips from the community members for about requirements, please share any reference / query for it.
</p>

<p>
	 
</p>

<p>
	Thank you, 
</p>

<p>
	M Chaudhary
</p>
]]></description><guid isPermaLink="false">253718</guid><pubDate>Thu, 27 Mar 2025 14:15:17 +0000</pubDate></item><item><title>CPU, Memory</title><link>https://community.citrix.com/forums/topic/258572-cpu-memory/</link><description><![CDATA[<p>Where can I see the CPU and memory setting values for each machine?</p>]]></description><guid isPermaLink="false">258572</guid><pubDate>Mon, 10 Nov 2025 17:07:32 +0000</pubDate></item><item><title><![CDATA[Citrix DaaS Cloud API Details for User Profile Reset & Session Logoff]]></title><link>https://community.citrix.com/forums/topic/258650-citrix-daas-cloud-api-details-for-user-profile-reset-session-logoff/</link><description><![CDATA[<p>Hello Team,</p><p>We are currently migrating our on-prem Citrix environment to <strong>Citrix DaaS Cloud</strong> and are exploring options to automate <strong>profile-related user management tasks</strong> using APIs.</p><p>As part of this initiative, we are working on building an <strong>API connector</strong> to integrate Citrix DaaS with our <strong>ITSM/ticketing automation platform</strong>. Our initial use cases include:</p><ul><li><p><strong>Resetting user profiles</strong></p></li><li><p><strong>Forcing log-off of users from active Citrix sessions</strong></p></li></ul><p>We have reviewed the available <strong>Citrix DaaS Cloud API documentation</strong>, but we could not find any APIs that explicitly support:</p><ul><li><p>User profile reset operations</p></li><li><p>Session logoff in the context of profile management</p></li></ul><p>We would appreciate your help with the following <strong>API-specific details</strong>:</p><h3><span data-ips-font-size="80">1. API Availability</span></h3><ul><li><p>Are there any <strong>official Citrix DaaS Cloud APIs</strong> available to:</p><ul><li><p>Reset or clean a user profile?</p></li><li><p>Log off a user session programmatically?</p></li></ul></li></ul><h3><span data-ips-font-size="80">2. API Technical Details (if available)</span></h3><p>If such APIs exist, could you please share:</p><ul><li><p>API endpoint URLs</p></li><li><p>Required authentication method (OAuth2, API client, tokens, etc.)</p></li><li><p>Required roles or permissions</p></li><li><p>Sample request/response or reference documentation</p></li></ul><p>Any guidance, documentation links, or best-practice recommendations would be greatly appreciated.</p><p>Thank you in advance for your support.</p><p></p><p>Regards,</p><p>Selva L</p>]]></description><guid isPermaLink="false">258650</guid><pubDate>Tue, 16 Dec 2025 09:56:21 +0000</pubDate></item><item><title>Unable to Authenticate using Citrix DaaS SDK when using Windows Slave and Linux Master in Jenkins. Error: Key not valid for use in specified state</title><link>https://community.citrix.com/forums/topic/256753-unable-to-authenticate-using-citrix-daas-sdk-when-using-windows-slave-and-linux-master-in-jenkins-error-key-not-valid-for-use-in-specified-state/</link><description><![CDATA[<p>Hello, we have migrated to Kubernetes based Jenkins in which the Master is Linux and slaves are Windows. The slaves have been configured with ssh and has all citrix daas sdk's installed.</p><p></p><p>When using Get-XDAuthentication or using Set-XDcredentials i'm getting error Key Not valid for use in specified state. It seems that the commands rely on Windows DPAPI which is expecting encryption and decryption on the same system or account causing this issue. This works perfectly on our Windows Master and slave setup.  I have tried rest api, bearer token but nothing works as the command itself seems to be relying on dpapi.. any way to bypass this or any workaround is appreciated.</p><p>working using rest apis is not possible for me as there are some functionality for which the api endpoints are not public. For eg-  adding a machine into <strong>mcs</strong> catalog.</p>]]></description><guid isPermaLink="false">256753</guid><pubDate>Sun, 10 Aug 2025 19:50:18 +0000</pubDate></item><item><title>webhook API</title><link>https://community.citrix.com/forums/topic/256619-webhook-api/</link><description><![CDATA[<p>Webhook help required</p>]]></description><guid isPermaLink="false">256619</guid><pubDate>Mon, 23 Jun 2025 17:28:11 +0000</pubDate></item><item><title>API  for CSP to fetch users an licenses</title><link>https://community.citrix.com/forums/topic/253730-api-for-csp-to-fetch-users-an-licenses/</link><description><![CDATA[<p>
	<span style="background-color:#ffffff;color:#202124;font-size:13px;text-align:left;">to count our csp users for different customers we need to get a monthly userlist with upn an license state. Unfortunaly i could only find this endpoint: </span><a href="https://api.cloud.com/licensing/license/csp/onpremise/cvad/usage?date=2025-03" rel="external nofollow" style="background-color:#ffffff;color:#1967d2;font-size:13px;text-align:left;">https://api.cloud.com/licensing/license/csp/onpremise/cvad/usage?date=2025-03</a><span style="background-color:#ffffff;color:#202124;font-size:13px;text-align:left;"> but here a see only the summary of all users. We need the complete userlist. Is there another endpoint we can use? Or: can we get this information from license server?</span>
</p>
]]></description><guid isPermaLink="false">253730</guid><pubDate>Tue, 01 Apr 2025 10:32:17 +0000</pubDate></item><item><title>Unable to get Windows Session ID through Monitor OData API</title><link>https://community.citrix.com/forums/topic/253517-unable-to-get-windows-session-id-through-monitor-odata-api/</link><description><![CDATA[<p>
	<span style="background-color:#ffffff;color:#0b1215;font-size:16px;">On the DaaS Monitor UI we can see User Session Details including ID of his Windows session on the VM, but cannot find same parameter through Monitor OData API interface. Here is example from Monitor where i can see that numbers. How we can find this number through OData API?</span>
</p>

<p>
	<img alt="image.png.0f87bfc4779f4cee8d9e3693a97db044.png" class="ipsImage ipsImage_thumbnailed" data-fileid="37428" style="height:auto;" width="590" src="//media.invisioncic.com/m329563/monthly_2024_12/image.png.0f87bfc4779f4cee8d9e3693a97db044.png" loading="lazy" height="348.1">
</p>
]]></description><guid isPermaLink="false">253517</guid><pubDate>Tue, 31 Dec 2024 12:45:59 +0000</pubDate></item><item><title>Unable to Create AzureAD Catalog using Terraform Provider</title><link>https://community.citrix.com/forums/topic/253203-unable-to-create-azuread-catalog-using-terraform-provider/</link><description><![CDATA[<p>
	Hey everyone,
</p>

<p>
	I'm trying to create a MCS AAD joined catalog using terraform but unable to do so. upon executing the terraform plan, i get the below error. I have validated the documentation but was not able to fix this yet. Is this a bug because it is showing <span style="background-color:#0d1117;color:#f0f6fc;font-size:14px;">I'm not using PVS so not sure why<span> </span></span><strong style="background-color:#0d1117;color:#f0f6fc;font-size:14px;">azure_pvs_config</strong><span style="background-color:#0d1117;color:#f0f6fc;font-size:14px;"><span> </span>is requried</span>
</p>

<p>
	<strong>Error Message</strong>
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">Error: Invalid Attribute Combination
│
│ with citrix_machine_catalog.example-catalog,
│ on machine_catalog.tf line 2, in resource "citrix_machine_catalog" "example-catalog":
│ 2: resource "citrix_machine_catalog" "example-catalog" {
│
│ No attribute specified when one (and only one) of
│ [provisioning_scheme.azure_machine_config.azure_pvs_config.&lt;.azure_pvs_config,provisioning_scheme.azure_machine_config.azure_pvs_config.&lt;.azure_master_image] is
│ required</span></pre>

<p>
	 
</p>

<p>
	Below is my code snippet
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">resource "citrix_machine_catalog" "example-catalog" {
    name                        = "Terraform-Catalog"
    description                 = "Automated Azure AD Catalog"
    allocation_type             = "Random"
    session_support             = "MultiSession"
	provisioning_type 			= "MCS"
    zone                        = data.citrix_zone.zone.id
    provisioning_scheme         = {
        hypervisor               = data.citrix_hypervisor.azure-hypervisor.id
        hypervisor_resource_pool = data.citrix_hypervisor_resource_pool.azure-resource-pool.id
        identity_type            = "AzureAD"
        enroll_in_intune         = true
        network_mapping = [ {
          network_device = "VNetName"
          network = "SubnetName"
        } ]
        azure_machine_config     = {
            service_offering     = "Standard_B4ms"
            machine_profile = {


                machine_profile_resource_group = "Demo-RG"
                # machine_profile_vm_name = "Demo-Win11"
                machine_profile_template_spec_name = "Win11AVD"
                machine_profile_template_spec_version = "1.0.0"


            }
            storage_type         = "StandardSSD_LRS"
            use_managed_disks    = true
        }
        number_of_total_machines = 1
        machine_account_creation_rules = {
            naming_scheme = "AAD-AVD#"
            naming_scheme_type = "Numeric"
        }
    }
}</span></pre>

<p>
	 
</p>
]]></description><guid isPermaLink="false">253203</guid><pubDate>Mon, 02 Sep 2024 08:34:20 +0000</pubDate></item><item><title>Power bi retrive the 100 raw with odata</title><link>https://community.citrix.com/forums/topic/252656-power-bi-retrive-the-100-raw-with-odata/</link><description><![CDATA[<p>
	Hello, Power Bi is new to me and I managed to connect to the odata on my Citrix Daas, it works. However, I can only retrieve the first 100 raw. In the Citrix documentation it says that there are only the first 100 raw and that you have to use @odata..nextlink (https://developer-docs.citrix.com/en-us/citrix-cloud/accessing-monitor-service-data-citrix-cloud-external/accessing-monitor-service-data-citrix-cloud-external) but I don't see how to use it. I could use some help.
</p>
]]></description><guid isPermaLink="false">252656</guid><pubDate>Wed, 21 Feb 2024 21:38:19 +0000</pubDate></item><item><title>multi expand not possible?</title><link>https://community.citrix.com/forums/topic/253401-multi-expand-not-possible/</link><description><![CDATA[<p>
	hi there,
</p>

<p>
	trying to output the username (e.g) from a connection with odata and powershell:
</p>

<p>
	(Invoke-RestMethod "https://api-us.cloud.com/monitorodata/Connections?`$expand=Session&amp;`$top=1" -Headers $headers -Method Get).value
</p>

<p>
	works well, but instead or in addition to the userId I want the username only possible through expanding another level, so:
</p>

<p>
	(Invoke-RestMethod "https://api-us.cloud.com/monitorodata/Connections?`$expand=Session(`$expand=User)&amp;`$top=1" -Headers $headers -Method Get).value # -&gt; no error but empty output for 'User='
</p>

<p>
	other tests like this are not working:
</p>

<p>
	(Invoke-RestMethod "https://api-us.cloud.com/monitorodata/Connections?`$expand=Session(`$expand=Session/User)&amp;`$top=1" -Headers $headers -Method Get).value ### -&gt; error with URI
</p>

<p>
	(Invoke-RestMethod "https://api-us.cloud.com/monitorodata/Connections?`$expand=Session(`$expand=User<u>s</u>)&amp;`$top=1" -Headers $headers -Method Get).value # -&gt; Users won't work
</p>

<p>
	 
</p>

<p>
	MS has different examples but I found nothing with Citrix. connections are only one example, I can reproduce it with other tables.
</p>

<p>
	Someone successfully did a multi-expand in powershell and could post his code here? thanks
</p>
]]></description><guid isPermaLink="false">253401</guid><pubDate>Fri, 08 Nov 2024 06:11:44 +0000</pubDate></item><item><title>Query DeliveryGroup including TAGS</title><link>https://community.citrix.com/forums/topic/252905-query-deliverygroup-including-tags/</link><description><![CDATA[<p>
	Hello Community,
</p>

<p>
	hope your fine?! I am looking into a API Query to deliver following Output:
</p>

<p>
	DeliveryGroupsName and all existing TAGS associated to the DeliveryGroup.
</p>

<p>
	Does anyone have a API Query done similar to that?
</p>

<p>
	Thanks
</p>
]]></description><guid isPermaLink="false">252905</guid><pubDate>Tue, 07 May 2024 11:46:19 +0000</pubDate></item><item><title>Getting a empty value in  IP Address tag while fetching machines details from API response.</title><link>https://community.citrix.com/forums/topic/253096-getting-a-empty-value-in-ip-address-tag-while-fetching-machines-details-from-api-response/</link><description><![CDATA[<p>
	Hi All,
</p>

<p>
	While fetching machine details from citrix cloud on azure using API URLs, we are unable to retrieve the IP of the machines in the retrieved data.
</p>

<p>
	Below are the certified API URLs we are using to fetch data, 
</p>

<p>
	 
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="35369" width="795" alt="image.png.3d05844d53872937f79c0e998a3f69c3.png" src="//media.invisioncic.com/m329563/monthly_2024_07/image.png.3d05844d53872937f79c0e998a3f69c3.png" loading="lazy" height="492.9">
</p>
]]></description><guid isPermaLink="false">253096</guid><pubDate>Mon, 22 Jul 2024 08:35:19 +0000</pubDate></item><item><title>Set-ProvScheme -ProvisioningSchemeName -masterimagevm</title><link>https://community.citrix.com/forums/topic/253086-set-provscheme-provisioningschemename-masterimagevm/</link><description><![CDATA[<p>
	can anyone point me to the simple command to swap the image and kick off a update of a App catalogue like I can set the provisioning scheme for cpu and what not but struggling at finding the option to swap out the master image.
</p>
]]></description><guid isPermaLink="false">253086</guid><pubDate>Tue, 16 Jul 2024 15:51:06 +0000</pubDate></item><item><title>Connections API Issues for Dates in Nov-24</title><link>https://community.citrix.com/forums/topic/253396-connections-api-issues-for-dates-in-nov-24/</link><description><![CDATA[<p>
	We have noticed we get a 500 or 502 internal server errors when querying connections for date ranges in Nov-2024
</p>

<p>
	<u><strong>Example Queries</strong></u>
</p>

<p>
	Our filter is slightly more detailed and we select more columns, but these simplified examples that retrieve just a few rows illustrate the error.
</p>

<p>
	<em><u>Not Working - November time period:</u></em>
</p>

<p>
	This runs for a while before timing out.  It works occasionally.
</p>

<p>
	https://api-us.cloud.com/monitorodata/Connections?$filter=IsReconnect eq false and ModifiedDate ge 2024-11-03T18:40:00.000Z and ModifiedDate lt 2024-11-03T22:40:00.000Z&amp;$top=20&amp;$select=Id,SessionKey
</p>

<p>
	<u><em>Working - Earlier time period"</em></u>
</p>

<p>
	This works, response time is a few seconds.  I have moved the dates to different months and widened the time interval.
</p>

<p>
	https://api-us.cloud.com/monitorodata/Connections?$top=20&amp;$filter=IsReconnect eq false and ModifiedDate ge 2024-09-03T18:40:00.000Z and ModifiedDate lt 2024-09-03T22:40:00.000Z&amp;$select=Id,SessionKey
</p>
]]></description><guid isPermaLink="false">253396</guid><pubDate>Wed, 06 Nov 2024 23:26:53 +0000</pubDate></item><item><title>UpdateMachineCatalogProvisioningScheme OU Invalid arguments specified</title><link>https://community.citrix.com/forums/topic/253123-updatemachinecatalogprovisioningscheme-ou-invalid-arguments-specified/</link><description><![CDATA[<p>
	When using the UpdateMachineCatalogProvisioningScheme API if I specify the OU argument (to update the OU) in the json body the API returns "invalid arguments"
</p>

<p>
	<a href="https://developer-docs.citrix.com/en-us/citrix-daas-service-apis/citrix-daas-rest-apis/apis/#/MachineCatalogs-APIs/MachineCatalogs-UpdateMachineCatalogProvisioningScheme" rel="external nofollow">Citrix DaaS REST APIs</a>
</p>

<p>
	<u><strong>Example JSON Body (true values redacted)</strong></u>
</p>

<p>
	Updating image and machine creation rules
</p>

<p>
	{<br />
	    "StoreOldImage": true,<br />
	    "MinimumFunctionalLevel": "L7_20",<br />
	    "RebootOptions": {<br />
	        "RebootDuration": -1,<br />
	        "SendMessage": false<br />
	    },<br />
	    "MasterImagePath": "&lt;image path&gt;",<br />
	    "MasterImageNote": "&lt;Image notes&gt;",<br />
	    "MachineAccountCreationRules": {<br />
	        "NamingScheme": "CTX-VM-###",<br />
	        "NamingSchemeType": "Numeric",<br />
	        "Domain": "DOMAIN.NET",<br />
	        "OU": "OU=Level3,OU=Level2,OU=Level1,DC=DOMAIN,DC=NET"<br />
	        }<br />
	}
</p>

<p>
	 
</p>

<p>
	Updating machine creation rules only
</p>

<p>
	{<br />
	    "MachineAccountCreationRules": {<br />
	        "NamingScheme": "CTX-VM-###",<br />
	        "NamingSchemeType": "Numeric",<br />
	        "Domain": "DOMAIN.NET",<br />
	        "OU": "OU=Level3,OU=Level2,OU=Level1,DC=DOMAIN,DC=NET"<br />
	        }<br />
	}
</p>

<p>
	<u><strong>Error output</strong></u>
</p>

<p>
	{<br />
	  "ErrorMessage": "Invalid arguments specified.\r\nParameter name: nameOrId request.MachineAccountCreationRules.OU async",<br />
	  "SdkErrorId": "UnknownError",<br />
	  "ErrorType": "ArgumentException",<br />
	  "ErrorDetails": "Transaction ID: ea6450aa-0027-4ac9-ba55-4f75998a793e\r\nAction Name: UpdateMachineCatalogProvisioningSchemeAsync\r\n\r\n\r\nException:\r\n    Error Source : CitrixOrchestration\r\n",<br />
	  "SupportLink": null,<br />
	  "ErrorReportXml": null,<br />
	  "ErrorReport": null<br />
	 
</p>

<p>
	The nameOrId value is correct (catalog Id) even though it is reference in the error output.
</p>

<p>
	Calling the API using the same json but with OU to "" (double quotes, nothing) returns success.
</p>
]]></description><guid isPermaLink="false">253123</guid><pubDate>Mon, 29 Jul 2024 23:17:26 +0000</pubDate></item><item><title>SecureString Support for Citrix Cloud authorization</title><link>https://community.citrix.com/forums/topic/253195-securestring-support-for-citrix-cloud-authorization/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	I am wondering if the Citrix Cloud authorization token is supported using the SecureString class in PowerShell.
</p>

<p>
	Thanks!
</p>

<p>
	Baljit-
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">253195</guid><pubDate>Wed, 28 Aug 2024 20:15:28 +0000</pubDate></item><item><title>Modifying cloud connector updates via SDK</title><link>https://community.citrix.com/forums/topic/253080-modifying-cloud-connector-updates-via-sdk/</link><description><![CDATA[<p>
	Hi,<br />
	<br />
	Rather than modifying cloud connector updates via the DaaS Portal manually, I would like to use the PowerShell SDK but not had much luck figuring out how to do that. Anyone here who can nudge me in the right direction? <br />
	<br />
	Thanks in advance<br />
	<br />
	Werner
</p>
]]></description><guid isPermaLink="false">253080</guid><pubDate>Thu, 11 Jul 2024 18:03:09 +0000</pubDate></item><item><title><![CDATA[Get-XDAuthentication options (Azure AD auth. & suppress update prompt)]]></title><link>https://community.citrix.com/forums/topic/250493-get-xdauthentication-options-azure-ad-auth-suppress-update-prompt/</link><description><![CDATA[<p>
	Hi all<br><br>
	Quick questions in regards the Remote Powershell SDK "<strong>Get-XDAuthentication</strong>" command.<br><br>
	1. When <strong>Azure AD authentication</strong> is used for Citrix Cloud, is it possible to point users executing the command straigh to the "Sign in with my company credentials" option and also prepopulate <strong>company's sign in URL</strong>, to avoid confusion?<br><a class="ipsAttachLink ipsAttachLink_image" data-fileext="png" data-fileid="47829" href="//media.invisioncic.com/m329563/monthly_2023_01/image.png.2a839eee0e36a0bdd08d14ea3b588dec.png" rel=""><img alt="image.thumb.png.0c8cc816417e1461ad38d282e44e7854.png" class="ipsImage ipsImage_thumbnailed" data-fileid="47829" width="263" src="//media.invisioncic.com/m329563/monthly_2023_01/image.thumb.png.0c8cc816417e1461ad38d282e44e7854.png" loading="lazy" height="399.76"></a><a class="ipsAttachLink ipsAttachLink_image" data-fileext="png" data-fileid="47831" href="//media.invisioncic.com/m329563/monthly_2023_01/image.png.68c539796dffb18c813546a11bf00b4f.png" rel=""><img alt="image.thumb.png.45c82a403454c89f5f9ae1f3ffc0a03a.png" class="ipsImage ipsImage_thumbnailed" data-fileid="47831" width="262" src="//media.invisioncic.com/m329563/monthly_2023_01/image.thumb.png.45c82a403454c89f5f9ae1f3ffc0a03a.png" loading="lazy" height="398.24"></a><br><br>
	2. Is it possible to suppress the "New SDK version available!" prompt, again, to avoid confusion for users?<br><a class="ipsAttachLink ipsAttachLink_image" data-fileext="png" data-fileid="47830" href="//media.invisioncic.com/m329563/monthly_2023_01/image.png.c413de698eb6eece319d0300be4c9cac.png" rel=""><img alt="image.thumb.png.e6acda2b8767688aab8d3c3fee03ff64.png" class="ipsImage ipsImage_thumbnailed" data-fileid="47830" width="400" src="//media.invisioncic.com/m329563/monthly_2023_01/image.thumb.png.e6acda2b8767688aab8d3c3fee03ff64.png" loading="lazy" height="164"></a><br><br>
	Thanks!
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">250493</guid><pubDate>Mon, 02 Jan 2023 11:17:21 +0000</pubDate></item><item><title>invalid credential error when logging into Citrix</title><link>https://community.citrix.com/forums/topic/252547-invalid-credential-error-when-logging-into-citrix/</link><description><![CDATA[<p>
	Afternoon users getting authentication error when trying to log into Citrix environment - <a class="ipsAttachLink ipsAttachLink_image" data-fileext="png" data-fileid="49157" href="//media.invisioncic.com/m329563/monthly_2024_01/image.png.15b205c6a91f0df3fa6e5edf3cfa8449.png" rel=""><img alt="image.thumb.png.1564463430564e7af5ec9b0f484fa317.png" class="ipsImage ipsImage_thumbnailed" data-fileid="49157" width="400" src="//media.invisioncic.com/m329563/monthly_2024_01/image.thumb.png.1564463430564e7af5ec9b0f484fa317.png" loading="lazy" height="264"></a>invalid credentials,  Any idea on what is causing this?
</p>

<p>
	Thanks
</p>
]]></description><guid isPermaLink="false">252547</guid><pubDate>Thu, 25 Jan 2024 12:59:32 +0000</pubDate></item><item><title>Encounter the maximum concurrent limit reached issue when making API request to Citrix Cloud Portal.</title><link>https://community.citrix.com/forums/topic/252401-encounter-the-maximum-concurrent-limit-reached-issue-when-making-api-request-to-citrix-cloud-portal/</link><description><![CDATA[<p>
	We observed each time when we make an API request,  encounter the maximum concurrent limit reached issue for clients having more than thousand desktops and sessions. We have attempted to pinpoint the precise moment of failure. however, it appears to occur randomly accompanied by an error code 429 indicating that the maximum limit has been reached.
</p>

<p>
	 
</p>

<p>
	Please find the API links that we are using.
</p>

<p>
	Session API we used with pagination filter applied : <a href="https://api-ap-s.cloud.com/monitorodata/Sessions" rel="external nofollow">https://api-ap-s.cloud.com/monitorodata/Sessions</a>
</p>

<p>
	Machine API we used with pagination filter applied  : <a href="https://api-ap-s.cloud.com/monitorodata/Machines" rel="external nofollow">https://api-ap-s.cloud.com/monitorodata/Machines</a>
</p>

<p>
	 
</p>

<p>
	Please find the attachment of the screen shot of the error.
</p>

<p><a href="//media.invisioncic.com/m329563/monthly_2023_12/APiissue_startek.jpg.be62ed5acd054c87726e997c1943b03a.jpg" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="48977" src="//media.invisioncic.com/m329563/monthly_2023_12/APiissue_startek.thumb.jpg.fe523b87027f61f1874020438b47c8ca.jpg" width="400" class="ipsImage ipsImage_thumbnailed" alt="APi issue_startek.jpg" loading="lazy" height="224"></a></p>]]></description><guid isPermaLink="false">252401</guid><pubDate>Wed, 13 Dec 2023 13:21:16 +0000</pubDate></item><item><title>import citrix policy fails when run from Azure DevOps with Invoke-VMScript</title><link>https://community.citrix.com/forums/topic/252451-import-citrix-policy-fails-when-run-from-azure-devops-with-invoke-vmscript/</link><description><![CDATA[<p>
	I am trying to import citrix policies, in an automated setup, using the SDK's<br>
	The script is working fine, when run manually on the DDC, but when i run it from AzureDevOps with the Invoke-VMScript, it failes, due to missing the psdrive i assume. 
</p>

<p>
	I am guessing there is some session issue, being the problem. 
</p>

<p>
	The script is run with domain admin credentials, on the VM. 
</p>

<p>
	and its pretty simple:<br>
	 
</p>

<pre class="ipsCode">    Add-PSSnapin Citrix*
    Import-module 'C:\Program Files\CITRIX\Telemetry Service\TelemetryModule\Citrix.GroupPolicy.Commands.psm1'
    New-psdrive -name LocalFarmGpo -psprovider CitrixGroupPolicy -Controller localhost \
    Import-CtxGroupPolicy C:\temp\CitrixCVAD\Files\Policies\CTXPOL_ClientDrive_2012R2_Prod\
    Import-CtxGroupPolicy C:\temp\CitrixCVAD\Files\Policies\CTXPOL_2012R2_Prod\</pre>

<p>
	 
</p>

<p>
	The invoke script, run from the agent vm, has the credentials. 
</p>

<p>
	 
</p>

<pre class="ipsCode">#connect
Set-PowerCLIConfiguration -Scope User -InvalidCertificateAction Ignore -ParticipateInCeip $false -Confirm:$false
Connect-VIServer -Server $VMwareConfig.VMwareServer -Credential $VMcredentials
#getvmname
$VMName =Get-VM -Name $VMwareConfig.GuestMachine
try{
    $VMName | Invoke-VMScript -ScriptText 'C:\temp\citrixCVAD\12_CitrixPolicies_Config.ps1' -ScriptType Powershell -GuestCredential $SomethingSomehingCredentials
} 
catch
{

    if ($_.Exception.Message -like '*The guest operations agent could not be contacted*') {
        Write-Host "OK"
    } else {
        Write-Host "Something went wrong"
    }
    
}</pre>

<p>
	 
</p>

<p>
	The output i am getting is:<br>
	 
</p>

<blockquote class="ipsQuote" data-ipsquote="">
	<div class="ipsQuote_citation">
		Quote
	</div>

	<div class="ipsQuote_contents">
		<p>
			2023-12-13T09:34:13.5055116Z ScriptOutput : <br>
			2023-12-13T09:34:13.5119640Z                Name           Used (GB)     Free (GB) Provider      Root                                               <br>
			2023-12-13T09:34:13.5121096Z                CurrentLocation<br>
			2023-12-13T09:34:13.5147491Z                ----           ---------     --------- --------      ----                                               <br>
			2023-12-13T09:34:13.5148773Z                ---------------<br>
			2023-12-13T09:34:13.5182934Z                LocalFa...                             CitrixGrou... LocalFarmGpo:\                                     <br>
			2023-12-13T09:34:13.5184297Z                               <br>
			2023-12-13T09:34:13.5185443Z                New-Item : Cannot find drive. A drive with the name 'LocalFarmGpo' does not exist.<br>
			2023-12-13T09:34:13.5187703Z                At C:\Program Files\CITRIX\Telemetry Service\TelemetryModule\Citrix.GroupPolicy.Commands.psm1:503 <br>
			2023-12-13T09:34:13.5189592Z                char:21<br>
			2023-12-13T09:34:13.5190280Z                +             $item = New-Item "$($DriveName):\$Type\$PolicyName"<br>
			2023-12-13T09:34:13.5191556Z                +                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
			2023-12-13T09:34:13.5193186Z                    + CategoryInfo          : ObjectNotFound: (LocalFarmGpo:String) [New-Item], DriveNotFoundException<br>
			2023-12-13T09:34:13.5195211Z                    + FullyQualifiedErrorId : DriveNotFound,Microsoft.PowerShell.Commands.NewItemCommand<br>
			2023-12-13T09:34:13.5196552Z                 <br>
			2023-12-13T09:34:13.5197652Z                Set-ItemProperty : Cannot find drive. A drive with the name 'LocalFarmGpo' does not exist.<br>
			2023-12-13T09:34:13.5199951Z                At C:\Program Files\CITRIX\Telemetry Service\TelemetryModule\Citrix.GroupPolicy.Commands.psm1:506 <br>
			2023-12-13T09:34:13.5201578Z                char:51<br>
			2023-12-13T09:34:13.5202512Z                + ... y($prop)) { Set-ItemProperty "$($DriveName):\$Type\$PolicyName" $prop ...<br>
			2023-12-13T09:34:13.5204003Z                +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
			2023-12-13T09:34:13.5210886Z                    + CategoryInfo          : ObjectNotFound: (LocalFarmGpo:String) [Set-ItemProperty], <br>
			2023-12-13T09:34:13.5212278Z                DriveNotFoundException<br>
			2023-12-13T09:34:13.5213886Z                    + FullyQualifiedErrorId : DriveNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand
		</p>
	</div>
</blockquote>

<p>
	 
</p>
]]></description><guid isPermaLink="false">252451</guid><pubDate>Wed, 03 Jan 2024 10:09:03 +0000</pubDate></item><item><title>Citrix Sharefile API sf-api.com/sf/v3/Shares does not function as documented</title><link>https://community.citrix.com/forums/topic/252412-citrix-sharefile-api-sf-apicomsfv3shares-does-not-function-as-documented/</link><description><![CDATA[<p>
	<a href="https://api.sharefile.com/docs/resource?name=Shares" rel="external nofollow">https://api.sharefile.com/docs/resource?name=Shares doscu</a>ments the POST data as:
</p>

<p>
	 
</p>

<p>
	{<br>
	    "ShareType":    "Send",<br>
	    "Title":    "Sample Send Share",<br>
	    "Items":    <br>
	[<br>
	        {<br>
	            "Id":    "FILE ID"<br>
	        }<br>
	    ],<br>
	    "ExpirationDate":    "2023-12-18",<br>
	    "RequireLogin":    false,<br>
	    "RequireUserInfo":    false,<br>
	    "MaxDownloads":    -1,<br>
	    "UsesStreamIDs":    false<br>
	}
</p>

<p>
	 
</p>

<p>
	I get a server 400 (BAD REQUEST) .... or {"code":"BadRequest","message":{"lang":"en-US","value":"Invalid Share: provide either a type, parent, or item list"},"reason":"BadRequest"}
</p>

<p>
	when I send that data.
</p>

<p>
	 
</p>

<p>
	What's up?
</p>
]]></description><guid isPermaLink="false">252412</guid><pubDate>Sun, 17 Dec 2023 17:24:00 +0000</pubDate></item><item><title>SDK Show Parameter Configured by Delivery Group or Catalog</title><link>https://community.citrix.com/forums/topic/252406-sdk-show-parameter-configured-by-delivery-group-or-catalog/</link><description><![CDATA[<p>
	Hi !
</p>

<p>
	 
</p>

<p>
	I am creating a hardening script to evaluate my infrastructure with each hardening rules provided by citrix (IIS Rules for Directory &amp; Storefront, HTTPS Information etc...)
</p>

<p>
	 
</p>

<p>
	I would like to check the SecureICA Level for Each Machine Catalog or Delivery Group and make a result like this
</p>

<p>
	 
</p>

<p>
	Description - Defined - Expected -  Harden
</p>

<p>
	Catalog 1 - Basic - Bits128 - nok
</p>

<p>
	Catalog 2 - Bits128 - Bits128 - Ok
</p>

<p>
	 
</p>

<p>
	Has anyone ever made this kind of script ?
</p>

<p>
	 
</p>

<p>
	Thx
</p>

<p>
	 
</p>

<p>
	RPE
</p>
]]></description><guid isPermaLink="false">252406</guid><pubDate>Thu, 14 Dec 2023 16:07:33 +0000</pubDate></item></channel></rss>
