Error wirh Office365ApplicationScope

Hi guys,

I have a problem with configuration of Office365ApplicationScope 2.5.9 version, I try connect with a ApplicationID and Secret through Connection Method “Asset” and it gives me an error (“You must provide a value for Application ID”)

Image of error with “Asset”


Configuration of Json for Asset connection

Somebody else with same error??? :face_with_bags_under_eyes:

I don’t use “Properties Panel” with variables, because doesn’t works when try to use in desing time.
Image of error with “Properties Panel” and variables

At least you can try onetime as hardcoded for an onetime connection test

Yes I have tried hardcoding and it works, but I don’t leave it like that for security reasons.

@samuelalejandro.degouveia

  1. during design time can use values and then change to variables is one way
  2. Now coming to error did you happen to select the asset using the folder icon itself?

cheers

When the one-time test verified the accepted connection settings, then in a next step newer package versions can be tried or was this also already done?

  1. Ok, it’s a provisional solution.
  2. Yes, I have selected the asset using the folder icon.
1 Like

@samuelalejandro.degouveia

just to make sure can you remove any extra characters

{"CertificateAsBase64": "","CertificatePassword": "","ClientSecret":"abc","Environment":"Default","Mode":"appidsecret","OAuth2AppData":{"ApplicationId": "123","TenantId": "345"}}

Also please specify version you are using studio/activities..

activities version 3.1.21 works with the above json

cheers

Yes, I’ve tried newer versions, but I get the same error. I’m using that particular version because it’s the latest version that uses UiPath.Platform 23.10.00.

You tell me to try to remove the hyphens (-), right?

@samuelalejandro.degouveia

client id you can give exactly how it looks on your azure app..but the tab spaces can be removed

if clientid has hyphens keep it else remove them

generally hyphen might be present

cheers

I tried removing any characters, but I haved the same error, it’s like the ApplicationId is not recognized in the JSON

@samuelalejandro.degouveia

ideally if app id is not recognized you would have a warning just like the yellow one in your screenshot …but not a red icon until you run though

I tried giving a wrong app id and it gives only a yellow icon

can you try changing the package version of office365 please

cheers

Hi @samuelalejandro.degouveia

Something seems wrong with your json which is why you are getting that validation error. Could you please verify your json is correctly configured? And you are referring to right asset configuration?

Hi @sonaliaggarwal47,

I have followed the json example shown in the UiPath docs (Activities - How to use Microsoft 365 activities without Integration Service connections)